This is the first stable release of the new version 2 release branch.
04 September 2012
NEW IN ZEND FRAMEWORK 2
New and/or refactored components include:
EventManager - provides subject/observer, pubsub, aspect-oriented programming,
signal slots, and event systems for your applications.
ServiceManager - provides an Inversion of Control (IoC) container for managing
object life-cycles and dependencies via a configurable and programmable
DI - provides a Dependency Injection Container, another form of IoC.
MVC - a newly written MVC layer for ZF2, using controllers as services, and
wiring everything together using events.
ModuleManager - a solution for providing plug-and-play functionality for
either MVC applications or any application requiring pluggable 3rd party code.
Within ZF2, the ModuleManager provides the MVC with services, and assists in
Loader - provides new options for autoloading, including standard, performant
PSR-0 loading and class-map-based autoloading.
Code - provides support for code reflection, static code scanning, and
Config - more performant and more flexible configuration parsing and creation.
Escaper - a new component for providing context-specific escaping solutions
HTTP - rewritten to provide better header, request, and response abstraction.
I18n - a brand new internationalization and localization layer built on top of
PHP's ext/intl extension.
InputFilter - a new component for providing normalization and validation of
sets of data.
Form - rewritten from the ground up to properly separate validation, domain
modeling, and presentation concerns. Allows binding objects to forms, defining
forms and input filters via annotations, and more.
Log - rewritten to be more flexible and provide better capabilities
surrounding message formats and filtering.
Mail - rewritten to separate concerns more cleanly between messages and
Session - rewritten to make testing easier, as well as to make it more
configurable for end users.
Uri - rewritten to provide a cleaner, more object oriented interface.
Many components have been ported from Zend Framework 1, and operate in
practically identical manners to their 1.X equivalent. Others, such as the
service components, have been moved to their own repositories to ensure that as
APIs change, they do not need to wait on the framework to release new versions.