Second development milestone for Zend Framework 2.0.
This snapshot concludes two parallel milestones:
- "Autoloading and Plugin Loading"
- "Exceptions"
See the milestones page for full details:
http://framework.zend.com/wiki/display/ZFDEV2/Zend+Framework+2.0+Milestones
The basic functionality added at this point include:
- Several autoloading strategies, including class maps and PSR-0 style
autoloading that uses explicit paths instead of the include_path.
- Tools for generating class maps.
- Removal of Zend\Loader::loadClass() and Zend\Loader\Autoloader in
favor of the new solutions
- Refactoring of the Resource autoloader to conform with the new
autoloader interface
- Addition of several plugin class resolution interfaces
- Addition of an aliasing plugin class resolver
- Refactoring of PluginLoader to PrefixPathLoader and usage of SplStack
- Addition of a Broker interface, and a generic implementation,
PluginBroker
- Refactoring of all components that used PluginLoader previously to
use class alias plugin resolvers with plugin brokers
- Refactoring of Zend\View to make use of a plugin broker and filter
chain
Several pieces were left to refactor later, including:
- Zend\Cache (in progress)
- Zend\Form (likely will replace filters with FilterChain, validators
with ValidatorChain, and implement a different rendering strategy)
- View helpers (a "direct" strategy method is no longer necessary using
a brokering strategy)
This snapshot should NOT be used in production, as it is considered
pre-pre alpha quality.