Could someone explain in detail how to integrate Doctrine 2 and Zend Framework 1.11?
-
1There's no magic nor rocket science involved. Just make sure you initialize Doctrine in your bootstrap, and use it as you normally do. – wimvds Feb 15 '11 at 09:02
7 Answers
There is a great video by Jon Lebensold about integrating D2 and ZF: Unit Testing Doctrine 2 - don't be misleaded by the title :)
- 8,060
- 3
- 31
- 41
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.
- 141,914
- 21
- 225
- 223
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.
- 18,825
- 14
- 78
- 152
- 77,970
- 17
- 103
- 128
Christian Soronellas has an tutorial: http://christian.soronellas.es/2010/12/19/zend-framework-and-doctrine-2/?lang=en
- 21
- 1
Maybe you are still interested in, I just found a Application Resource for Doctrine 2.
Check out my question