How does Doctrine talk to your database? What are Unit Of Work, Identity Map and Proxy? These are the questions I want to answer in this talk. We will look at how Doctrine ORM implements these patterns, why and most importantly why you should care about this.

Have you ever wondered why Doctrine makes queries when you didn’t expect it? Did you encounter a “A new entity was found through the relationship”-error and just randomly tried things until it works? You are not alone! Let’s look behind the curtains of Doctrine and figure these things out.

Comments

Please login to leave a comment

You clearly explained how the internals of doctrine work, and you illustrated this with the source code of doctrine, which I found very interesting. Also you gave good insight in how you can try to reduce the number of queries doctrine generates, and it was also good to hear which features will disappear in doctrine 3.

What I learned the most here was the small dive into the internals of Doctrine. This really helped my understanding. Thank you.

I certainly have learned a lot about how Doctrine works, thank you for that. However, if I may put forward one small negative : you were at times hard to follow because of how fast you were talking at times. Other than that, great talk