The buzz behind Zend Framework 2.0 is growing rapidly everyday, and not without good reason. Zend Framework 2.0 will utilize the very best of PHP to create a more stable, secure, and better performing framework. Although nothing is set in stone, listed below are some of the highlights so far:
- Minimum version: PHP 5.3+
- Not backwards compatible
- Improved consistence between componenets
- __construct() – Constructors will accept options via arrays or Zend_Config
- Option keys will not use camel caps or uppercase, but instead will utilize lowercase underscore-separated words
- Elimination of most singletons
- Utilization of PHP 5.3 features
- __invoke() and closures – for use within plugin architecture
- Namespaces – to help with the super-long class names (Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive comes to mind)
- goto – to be used when creating Finite State Machines (FSM) and parsers (Zend_Search_Lucene, Zend_Ical, Zend_Markup)
- Autoload-only for all ZF components
- Zend_View
- Allow optional use of streams for systems where short_open_tags are disabled
- Automatic escaping of variables
- Use PluginLoader instead of internal system for managing plugins
There’s a lot of great discussion going on within the official Zend Framework 2.0 Roadmap, as well as a general outline on Zend’s plans, so get over there and read up!
Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive