twitter

Sunday, April 13, 2008

Dependency Injection

I've been trying to come up with a short description of what this new buzzword DI means and what it's trying to achieve. After reading Fowler's article, I still couldn't grasp what it really is. So I took a step back, looked at the words again -- 'dependency' and 'injection', and the idea came to me.

Dependency Injection (DI) is a Design Pattern wherein the 'container' establishes the dependency of an object to another object, instead of the object doing it by itself.

A lot of articles have been written about DI, so if you want to dig deeper, just Google it!

1 comments:

Dieta said...

Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the Dieta, I hope you enjoy. The address is http://dieta-brasil.blogspot.com. A hug.