Zend Framework 1.11 with Doctrine 2 Integration

2019-01-21 17:23发布

问题:

Could someone explain in detail how to integrate Doctrine 2 and Zend Framework 1.11?

回答1:

There is a great video by Jon Lebensold about integrating D2 and ZF: Unit Testing Doctrine 2 - don't be misleaded by the title :)



回答2:

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.



回答3:

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.



回答4:

Christian Soronellas has an tutorial: http://christian.soronellas.es/2010/12/19/zend-framework-and-doctrine-2/?lang=en



回答5:

There is nice ZF1+D2 project code example: https://github.com/dynamicguy/zf1doctrine2



回答6:

you can download all project from

https://github.com/SpiffyJr/zfd2_tutorial

more info in



回答7:

Maybe you are still interested in, I just found a Application Resource for Doctrine 2.

Check out my question