Comments

23.Nov.2012 at 10:03 by Anonymous

I'm not that deep into doctrine so this talk has been a bit overwhelming for me, but it was well structured. For me it seems a bit that Doctrine tries to cover all possible cases for all people, so I hope there won't be any performance impacts in the future.

Doctrine 2.2
* filter API. allow to e.g. only show specific local items in different country versions of a webshop, uses SQL snippets
* Complex SQL Types - you create a class with methods for converting from PHP to DB type and back
* set flush, i.e. flush not only for all or single entities, but also sets of entities
* Paginator
* master + multiple slave sql servers with automatic read-write splitting

Doctrine 2.3
* target entity resolving - depend on interfaces
* arbitrary joins
* Collection criteria work on any selectbale (including in memory stuff)
* configurable automatic naming strategies for tables etc.
* PostLoadHandler can receive LifecycleEventArgs and get an Entity Manager from that. Can be used to do additional database quries in a sort of clean doctrine way

I was shocked that the documentation is not consist with recent changes. And to be honest, I hope you will fix that very soon. Anyway, the presentation was properly prepared and the features presented - very interesting.

Great talk, lots of new features I personally wasn't aware of. Maybe it would be good to include such short code snippets as were on your slides in blog entries posted when new versions are released? It should be enough for at least part of developers and they would spread the word among others.