PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Quick Start Symfony DI (Dependency Injection) Tutorial

Note: This article was originally published at Zend Developer Zone on 27 August 2010.
Zend Developer Zone
Dependency injection is a technique that allows for loosely coupled objects within a software application. Generally if an object requires access to the functionality of another it would be instantiated internally leading to tightly coupled systems. By implementing dependency injection we inject the required objects ready for use (sometimes also referred to inversion of control - IOC).