| Integrating Doctrine with Zend Framework |
|
|
|
| Written by Joshua D Miller | |||||||
| Friday, 01 May 2009 14:45 | |||||||
Page 1 of 5 For the Filecab project, I chose to employ Zend Framework for the business tier. However, being very familiar with the Doctrine object-to-relational mapping (ORM) library for PHP, I chose to empoy it in lieu of Zend Framework's Zend_Db component (which is still in its infancy in terms of functionality). This blog shows how to integrate Doctrine with Zend Framework - and how easily Zend Framework can be used with 3rd party libraries. What we need to doTo show how easy I found it to be to integrate Doctrine with a Zend Framework application, let's just use the Zend Framework Quick Start guestbook example as a starting point. This blog assumes the reader has a familiarity with both Doctrine and the Zend Framework Quick Start guestbook example. You can read the Quick Start guide or obtain the code from Zend here: http://framework.zend.com/docs/quickstart. Okay, so here's what we've got when we finish the Quick Start: Quickstart In order to modify this to use Doctrine instead of Zend_Db, we need to do the following:
|
|||||||
| Last Updated ( Thursday, 21 May 2009 14:40 ) |



