Validation is important in any application. You need to be sure that any data entered by a user is valid[…]
Read moreTag: PHP
Doctrine XML Mapping or Annotations?
Annotations are very popular in Symfony. They are easy to write and understand. And most IDE’s have great support for[…]
Read moreUUID over auto increment in PHP
We know that our Domain should not be dependent on our database implementation. Then why do we use auto increment[…]
Read moreSymfony 4 REST API Part 1 – FOSRestBundle
REST as in Representational State Transfer is something that can’t be ignored in today’s ecosystem. There is a big need[…]
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 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 moreLaw of Demeter
The Law of Demeter is a design guideline with as goal to create loose coupling between objects. It is also[…]
Read moreDon’t Repeat Yourself (DRY)
Code duplication is bad and should be avoided. You should do your best to make sure you don’t repeat yourself[…]
Read moreClean Code PHP – Classes
In my previous blog post I talked about Abstraction and Encapsulation. This are important concepts. Today we go deeper into[…]
Read more