Code me a HR!

Code me a HR!

PHPtour 2017

Will we be talking about human resources management at the PHP tour? No, I’m going to talk to you about anemic models and rich models. For years, frameworks and ORMs have conditioned us to use anemic models, a class with simple setters and getters. Through the story of Estelle, an HR manager who wants an application to manage her employees, I will show you how to change our old habits to focus on the business logic we are implementing. We will see together which tools to use, such as the command bus design pattern, the NEW operator from Doctrine for your Data Transfer Objects in a Symfony application.

Watch the video

See the slides

Resources

Code example

Let’s move your projects forward, let’s discuss it together!

Let's move your projects forward, let's discuss it together!