Domain-driven design with Zend
- by mik
This question is a continuation of my previous question here
http://stackoverflow.com/questions/2122850/zend-models-architecture (big thanks to Bill Karwin).
I've made some reading including this article
http://weierophinney.net/matthew/archives/202-Model-Infrastructure.html
and this question
http://stackoverflow.com/questions/373054/how-to-properly-create-domain-using-zend-framework
Now I understand, what domain driven design is. But examples are still very simple and poor.
They are based on one table and one model. Now, my question is: do they use Domain Model Design in real-world PHP projects? I've been looking for some good documentation about this, but I haven't found anything good enough, that explains how to manage several tables and transfer them to Domain Objects. As long as I know, there is Hibernate library, that has this features in Java, but what should I use in PHP (Zend Framework)?