ORMs have been getting a lot of criticism in recent years, and some of it is well deserved. However, I’m convinced that the majority of the problems developers face when using an ORM stem from misunderstandings or misuses of the tool, rather than inherent flaws in the ORM itself.
In this series, I use the seven deadly sins as an analogy to the most common mistakes developers make when working with Doctrine. Each “sin” represents a specific issue that can arise when using Doctrine, along with strategies to avoid or mitigate these problems.