jump to navigation

All about Dependency injection. 31 Mar 2010

Posted by Ramaswamy Palaniappan in Advanced Basics, Concepts.
trackback

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)

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: