We know that our Domain should not be dependent on our database implementation. Then why do we use auto increment[…]
Read moreCategory: Symfony
Symfony 4 REST API Part 2 – Data Transfer Object
In Part 1 we learned about REST. What REST is and how to implement a simple Restful API with the[…]
Read moreThe Value Object and Doctrine
When you are diving deeper in how to construct a good Domain Model. You uncover different concepts which allows you[…]
Read moreThree Layered Architecture in Symfony
One of the concepts of clean architecture is the concept of layers. A layer will divide your code between different[…]
Read moreRepository Pattern in Symfony
When I first started working with Symfony I kinda struggled with finding out what is exactly the best practice to[…]
Read moreDoctrine 2: Correct way to use a Many-To-Many association
When working in Symfony and using Doctrine 2 ORMĀ you sometimes need to use a many-to-many association between entities. This[…]
Read more