19

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

Aron Rotteveel
  • 81,193
  • 17
  • 104
  • 128
ulduz114
  • 1,150
  • 6
  • 21
  • 37
  • 1
    There'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 Answers7

14

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

Radek Benkel
  • 8,278
  • 3
  • 32
  • 41
6

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.

Phil
  • 157,677
  • 23
  • 242
  • 245
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.

Raffael
  • 19,547
  • 15
  • 82
  • 160
Aron Rotteveel
  • 81,193
  • 17
  • 104
  • 128
2

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

Attakinsky
  • 21
  • 1
2

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

fmaxim
  • 21
  • 2
1

you can download all project from

https://github.com/SpiffyJr/zfd2_tutorial

more info in

Haim Evgi
  • 123,187
  • 45
  • 217
  • 223
0

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

Check out my question

Community
  • 1
  • 1
Jérémy
  • 379
  • 1
  • 3
  • 7