Zend Framework 1.11 with Doctrine 2 Integration

21,035

Solution 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 :)

Solution 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.

Solution 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.

Solution 4

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

Solution 5

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

Share:
21,035

Related videos on Youtube

ulduz114
Author by

ulduz114

Updated on May 28, 2020

Comments

  • ulduz114
    ulduz114 almost 4 years

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

    • wimvds
      wimvds about 13 years
      There's no magic nor rocket science involved. Just make sure you initialize Doctrine in your bootstrap, and use it as you normally do.
  • Rhys
    Rhys about 13 years
    The github link you are referencing is broken.

Related