ZF and Doctrine 1 integration
Benjamin Eberlei posted some excellent news about Doctrine integration with Zend Framework to the mailing lists:
Hello everyone,
I completed a first version of Zend + Doctrine 1 integration today and want to share it with all you. Since currently the status on a 1.11 release is unclear I contacted all the contributors to various Doctrine-related components and combined them into a single release and wrote some documentation on all the different parts and how they relate to each other.
http://github.com/beberlei/zf-doctrine
The code is under the New BSD License. There is a comprehensive getting started guide shipped with the Github Project.
The following parts are included in this release:
- Application Resource contributed by Matt Lurz
- Dynamic Form Generation contributed by Jani Hartikainen
- Paginator Adapter contributed by Matt Lurz and Juozas Kaziukenas
- Zend Tool Provider and modular Zend Project Style Support
Thanks to all the contributors and various other people that contributed ideas and code.
For any feedback regarding this integration, you can use the issue tracker on Github.
This release depends on Doctrine 1.2.2 to allow model code-generation from YAML files that supports Zend Framework Modular projects and their directory structure.
Most of the current glue code out there is made obsolete by generating Models that follow the Zend Framework naming conventions, into Zend Framework models/ directories. Additionally there is also support for modular applications whose model classes should follow the PEAR naming schema.
Additionally the dynamic form support allows to create simple forms that allow to create and edit Doctrine_Record instances and their relations. This is a great help to rapidly prototype admin forms (however support for more complex forms is not yet included).
Since both projects are currently very focused on their 2.0 releases, this release aims to glue all the existing code for Doctrine 1.x and Zend Framework integration 1.x together, giving them a platform to flourish.
greetings,
Benjamin
If you’re interested in using Doctrine with Zend Framework, then this is the way forward.


Jonathon responded on 26 May 2010 at 4:18 pm #
I’m definitely interested in Doctrine + ZF, however I’ve moved on to Doctrine 2 and haven’t looked back… So, while this is exciting that they are making progress on getting the two more integrated, it doesn’t really help me out that much moving forward.
Benjamin "balupton" Lupton responded on 31 May 2010 at 9:47 am #
I agree with Jonathon while it being great news, having a solid Doctrine 2.0 integration would be more beneficial. It feels as those who want Doctrine 1.2 integration already have it, so at least to me I doubt this can offer anything new – although I will still jump on the bandwagon and test it out.
Unfortunately Doctrine 1.2 support is pretty much dead, each month I tend to discover a new issue that I have to place upon myself to fix and working with it day by day you quickly realise the areas which really need substantial improvement to (which of course what Doctrine 2.0 is addressing). I’ll definitely re-evaluate my decision on using Doctrine 1.2 over Doctrine 2.0 in the coming weeks, as well as evaluate the Symphony 2.0 release.