Loïc Frering’s Blog: Integrating Symfony Dependency Injection Service Container with Zend Framework

In a new post to his blog, Loïc Frering is looking into integrating Symfony Dependency Injection Service with Zend Framework.

Dependency Injection is an Inversion of Control specific pattern highly used and encouraged throughout Zend Framework implementation. A Dependency Injection container manages your services life-cycle, it is in charge of their instantiation, configuration and injection as shared instances: no more need to use static methods, singletons or factories for your services!

Loïc is showing how to extend existing Zend Framework’s infrastructure to bootstrap Symfony’s Service Container, configure it and make services available through an action helper.