Sorry for the language change but at the moment it’s just way more convenient for me ![]()
Since Tobi blogged about the Zend Framework some time ago, I was tempted to try it for myself again and I’m really impressed by the improvements between versions 0.9.x/1.0 and 1.6 (Download). The whole framework has become easier to handle and better structured despite offering a huge number of components.
I lately became a very big fan of object relational mapper frameworks because it fits pretty much every task I had to face by now and allowed me to avoid writing SQL statements and repeatedly mapping it objects (damn, I’m a lazy programmer ;). Therefore I was a little dissapointed to discover that the Zend_Db component is not an ORM layer in my understanding of this technology.
Fortunately I followed the development of a very powerful ORM for PHP named Doctrine which became stable not a long time ago.
There are many articles on how to include Doctrine as your model in the Zend Framework (ZF) but due to the rapid development of both frameworks most of them are already outdated (and I guess that this article will suffer the same fate pretty soon, too, even though both frameworks are very mature in my opinion).
I decided to write a tutorial on how to connect Doctrine and ZF by adapting the original quick start tutorial and - as I like it to do with my blog tutorials - splitting it up in multiple parts. The first part will be about the installation, putting both frameworks together and performing the basic steps. The next part will deal with the GuestBook demo from the ZF tutorial.
framework , php












