Matthew Weier O’Phinney’s Blog: Autoloading Doctrine and Doctrine entities from Zend Frameworkwas

Matthew writes that recently we has been asked many times about how to autoload Doctrine and it’s models in Zend Framework. In his recent post we gives short and long explanation how to use Zend_Load_Autoloader to solve this problem.

A number of people on the mailing list and twitter recently have asked how to autoload Doctrine using Zend Framework’s autoloader, as well as how to autoload Doctrine models you’ve created. Having done a few projects using Doctrine recently, I can actually give an answer.

The short answer: just attach it to Zend_Loader_Autoloader.

Now for the details.

If you prefer Doctrine over Zend_Db, Project Lead at Zend Framework should matter for you and this article is must read for you. It is also very interesting reading for everyone integrating external libraries into Zend Framework.