Revisiting Dependency Injection and Object Builder Part 1

Dependency Injection (A kind of IoC) is a design principle that had been quite popular among designers, a few years ago. Well, it does not mean that it is not popular any more. How useful is it? There is no exact estimation study. I have seen a few papers trying to investigate benefits precisely but failed due to less awareness of development teams. However, it is very much acceptable that it improves maintainability and makes unit tests much easier at the cost of a light weight container.

In my three phased revisit of principle, I will be covering following
Part - 1

DI Concept, Comparisons, Demos, Object Builder 2.0, Codeplex Container. (Presentation & Source VS 2008)

Part - 2 Spring.net, Castle Winsor, Structuremap
Part - 3 Benefit Estimation and Scenarios

All objects of a computer software make a graph that shows relationships among several objects. More complex is the graph, more complex will be the software. More complex software programs are harder to maintain and provide very little margin to accommodate future changes (Less flexible). DI provide us a mechanism to loosen ties between objects in the graph. Loose coupling can be achieved in several different ways, I have discussed different approaches and their pros & cons in my presentation. Associated code can be downloaded here.

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: sadilabs
Posted on: 2/12/2008 at 11:53 AM
Tags: , , , ,
Categories: Architecture_Design
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (1) | Post RSSRSS comment feed

Related posts

Comments

Similar Activity

Wednesday, February 13, 2008 12:39 PM

Similar Activity

While I was doing this topic, some one else had been doing similar.
www.tavaresstudios.com/Blog/?tag=/objectbuilder

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

Tuesday, January 06, 2009 5:31 AM