-- monk.e.boy <[email protected]> wrote (on Wednesday, 10 November 2010, 06:25 AM -0800): > What are the plans for the ORM? How will the class autoloading work in 2.0, > does it work with Doctrine 2?
No plans for an ORM at this time. ORMs are basically frameworks in their own rights, and we feel at this time it's better to integrate existing ORM frameworks with ZF. Doctrine contributors have provided prototypes of Doctrine integration with ZF on github and via the Doctrine site, and we will likely incorporate one of these with ZF2 -- assuming we can work out licensing issues. As for autoloading, we've just completed our autoloading/plugin loading milestone in the past couple weeks. Our class structure already follows the PSR-0 standard, which Doctrine follows as well, meaning you may use a PSR-0 compliant autoloader to load both libraries. As for the entities themselves, there are additional approaches that can be used to solve those problems (the ClassMapAutoloader, for instance, can solve issues with entities that are in application code and thus not following the PSR-0 standard). > (APC http://php.net/manual/en/book.apc.php will help your speed issues) APC is one solution -- and that applies to ZF1 as well. However, the better solution is to profile the code and re-architect pain points to make them more performant. The autoloading/plugin loading milestone was highly focussed on this, and the outcome has been very rewarding -- 7-20x speed increases! -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
