Could someone explain in detail 开发者_Go百科how to integrate Doctrine 2 and Zend Framework 1.11?
There is a great video by Jon Lebensold about integrating D2 and ZF: Unit Testing Doctrine 2 - don't be misleaded by the title :)
I know this is a late inclusion but I just did this following the Zend webinar recording at http://www.zend.com/en/webinar/Framework/70170000000bSrG-webinar-zf-v-1-doctrine-v-2-20101214.flv (you need a (free) Zend account to view it).
Ralph Schindler also has the slides up here http://www.slideshare.net/ralphschindler/zend-framework-1-doctrine-2-6177485
If you're familiar with Doctrine2, you can probably skip the first half.
There are several Github repositories that show you how to do this.
Take a look at the source code and learn from it.
Apart from that, a simple Google search yields plenty of results that should help get you on your way.
Christian Soronellas has an tutorial: http://christian.soronellas.es/2010/12/19/zend-framework-and-doctrine-2/?lang=en
There is nice ZF1+D2 project code example: https://github.com/dynamicguy/zf1doctrine2
you can download all project from
https://github.com/SpiffyJr/zfd2_tutorial
more info in
Maybe you are still interested in, I just found a Application Resource for Doctrine 2.
Check out my question
精彩评论