Talk in English - US at php[tek] 2024
View Slides: https://drive.google.com/file/d/1SS4HejAsO0SFVbeX-KacMwOzDBqUFr4i/view?usp=sharing
Short URL: https://joind.in/talk/2d87c
(QR-Code (opens in new window))
The PHP community has long debated the best solution for database interactions. Using an ORM with Active Record or the Data Mapper Pattern is a common solution, but each comes with nuances. Come learn all about another practical approach by using the Repository Pattern for a clean solution to this common problem. Dive into using a supporting cast of Services, Entities, Value Objects, and more to find an alternative to the data persistence problem. Discuss technical pros and cons as implementation strategies are explored.
Comments
Comments are closed.
Great talk that makes the pattern easier to understand. I have been using it but didn't really see all the benefits till now.
I actually learned the repository pattern before I was introduced to ActiveRecord and ... I've never understood why the latter is so popular. Having a deeper walkthrough of the pattern I both love and use was still helpful as it still helped me learn a few things.
Will definitely revisit this talk to see how I can incorporate this pattern into my projects.
Excellent talk that was opinionated with reason.
As a noobie, I would like to see a (contrived) example to go along with the diagrams of entities vs data layer, etc.