Zend Framework 1 and Doctrine 2 integration

Doctrine 2 is in beta. It is for sure one of the most exciting things that caught my attention recently.

As a Zend Framework user, I started looking into ways to integrate Doctrine 2 with Zend Framework (currently in version 1).

The same as any other times, the solutions are already out there. The integration’s already been done by Giorgio Sironi’s nakedphp project.

So … I borrowed code from nakedphp and put up a skeleton ZF projects myself.

My sample project is available on Github. You can find it here.

Have a play, let me know if anything. Hope it’ll help people like myself, who cannot wait to try out new and cool things.

Reference

Share this article on:
  • Facebook
  • Twitter
  • Google Bookmarks
  • Digg
  • del.icio.us
  • LinkedIn
  • MySpace
  • email
  • Live
  • Reddit
  • RSS
  • StumbleUpon

Related posts:

  1. Zend Framework 1 and Doctrine 2 integration – modular setup
  2. ZF, Doctrine and Unit Tests
  3. Beautify Zend Framework project error pages
  4. Zend Framework integrate with Symfony DI Container
  5. ZF authentication using Doctrine
Categories: Doctrine - PHP - Zend Framework
 
[...] Zend Framework 1 and Doctrine 2 Integration [...]
Great work — one question: I can’t get the Symfony Yaml classes to load! Is there something I need to do to enable them?

Thanks

Dave
17 July 10 at 19:16
I’m pretty sure I have yaml installed using PEAR. I’m not certain though, don’t have access to my work laptop at the moment …
17 July 10 at 20:31
Thanks for this basic project. I used the github source and found that the directory “proxies” is missing. ZF throws an error if it’s not found. I added an empty dir “proxies” to “application” and all is ok.Best regards, Christian Lehmann
18 July 10 at 05:05
thanks for pointing this out Christian
18 July 10 at 10:17
Bandirsen
Nice integration, thank you
btw, how about creating a ZF-Doctrine ‘integrator’ forum, via IRC or google group maybe ?
19 July 10 at 23:57
The thing I believe is after ZF 2.0 comes out, I believe most of the current ZF – Doctrine integration work will be superseded. However if someone loves to take the initiative to setup the IRC or Google group, I’d love to participate!
20 July 10 at 19:25