Skip to content

Details

# Schedule
17:30 - Pre-meetup - gathering, small talk
18:00 - Meetup kickoff, Group announcements
18:15 - Miro Svrtan: Using migrations and fixtures
18:45 - Break
19:00 Mario Blažek: How to build eZ Platform websites using Netgen open-source components
19:20 - Lightning talks

Join us for ZgPHP Meetup #86!

#Talks

Miro Svrtan: Using migrations and fixtures

Manually adding data to our development environment is tedious and boring, not being sure on what changes will be applied to production database after deployment can be dangerous. To battle this issues, developers decided to load gigabytes of production data on their machines or run queries manually before or after deployment.

In the world of crazy fast changes, working with more and more team mates and on more complex projects, automation and reliabilty are becoming a must have. Fixtures will give you opportunity to have small yet relevant data set so you dont have to import production data or enter testing data into the system your self, every time system changes. By using migrations we can easily transfer database changes amongst the team and get the confidence on the changes that will be applied to staging/production.

In my case, both concepts helped communicate changes better and allowed us to modify the system with more confidence and at a faster pace.

While some popular frameworks and ORM's dont ship with fixtures or migrations support by default, there are great extensions to provide this. I will showcase ones for Symfony and Doctrine but talk is more about their concepts and not the implementations.

About Miro:
Building stuff is a passion of mine: it's not always about code, I try helping businesses build great products and teams. While I'm most often hired as senior developer, I also work as a trainer, helping other developers be better by teaching them new methodologies and sharing my experiences.

Members are also interested in