Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brandon Savage's Blog:
The Adventures Of Merging Propel With Zend Framework
Mar 24, 2010 @ 15:12:10

In a new post to his blog Brandon Savage takes a quick loook at hos he integrated Propel into a Zend Framework app he'd built to replace an older site.

I wanted to use Zend Framework to practice on it, and to learn things I hadn't yet learned since I had yet to put an application into production; however, I didn't have any desire to rewrite my model, which was done in Propel. Propel has two things going for it already: the first is that Propel includes its own autoloader, meaning that I didn't have to try and force Propel into Zend Framework's file system structure. The second is that Propel is designed to let you put it's files anywhere you want with ease, so long as you update your include path properly.

He walks you through the process he followed to get things up and running - placement of the Propel libraries, working with the Propel configuration file and some pathing problems he finally figured out (by putting a model include directory into the path too).

tagged: propel zendframework orm autoload

Link:


Trending Topics: