All about Dependency injection. 31 Mar 2010Posted by Ramaswamy Palaniappan in Advanced Basics, Concepts.
Dependency injection (DI) in object-oriented computer programming is a technique for supplying an external dependency (i.e. a reference) to a software component – that is, indicating to a part of a program which other parts it can use. It is a specific form of inversion of control where the concern being inverted is the process of obtaining the needed dependency. The term was first coined by Martin Fowler to describe the mechanism more clearly.
Visit these links to understand DI.
Inversion of Control Containers and the Dependency Injection pattern By Martin Fowler
Dependency Injection For Dummies
Dependency Injection 101
200 Page Manual on Inversion of Control (plus or minus 199)