Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPImpact Blog:
Dependency Injection in Zend Framework
Jul 29, 2008 @ 13:45:15

The PHP::Impact blog has pointed out that the Zend Framework has gotten even closer to having a true method for dependency injection in its applications - a proposal issued for Zend_Container.

Bradley Holt has announced the creation of a new proposal Zend_Container, a simplified version of Zend_Di. According to him, if the framework is going to have a dependency injection component this component needs to be as simple as possible, something along the lines of PicoContainer.

The proposal seeks to replace the use of class-managed singletons and Zend_Registry, scope access to containers and use reflection to determine dependencies for items inside. The component has been given the go-ahead from the ZF team and development is already in process.

tagged: dependency injection zendframework zendcontainer proposal

Link:


Trending Topics: