Frequently Asked Questions - (answers based on a personal experiment done yesterday)
What has changed in Zend Framework 2 from Zend Framework 1?
Architecture
ZF1 is based on MVC, ZF2 is based on MOVE. Huge difference. MOVE = Model Operations Views Events, MVC = Models of view controllers. More details here . Zend Framework 2 uses 100% object-oriented code and uses most of the new PHP 5.3 features, namely namespaces, late static binding, lambda functions, and closure. source
Installation size
The last ZF1 file is about 30 MB, and ZF2 is about 2.5 MB (Zipped).
Dependence
ZF1 is the main set of libraries and a very loosely coupled architecture (in relation to its competitor / player - CakePHP). ZF1 does not require a lot of “gems” (like in a ruby), but can improve with plugins. ZF2 requires you to know about composer - phar , and soon it may not match any other framework. New concept: Dependency Injection for Zend fans.
Certification
Certification is available only for ZF1, however, rumors are circulating about their negotiations for ZF2 certificates, although training materials are available online.
Legend
The classname in ZF1 was Zend_Db_Table for the class in Zend / Db / Table.php, whereas in ZF2 it is the class My \ Auth \ Adapter. Enough said.
Main
ZF1 was supported by Zend Technologies (and several others, unnamed). ZF2 has some great supporters, including Google and Microsoft. Source here
Speed
To complete "Hello World!" it took about 20 times more time. in ZF2. I do not judge here. I could be wrong. DIY.
Which one should I choose?
MVC has been around since a decade, and if you're one of those who feel sad for the new architecture, then hey! IT is “your chosen” domain, stay tuned and update yourself! Start ZF2 from here .