Inversion of Control Containers and the Dependency Injection pattern

Some time ago I have posted an article called Aragon Container, in which I tried to explain the idea behind the bigest building block of the Aragon Framework.

Today I ran into the article I have found long time ago, which cleared the fogg behind the Inversion of Control and Dependency Injection patterns. This article was written somewhere back in 2004 by the OOP guru Martin Fowler and I could not help it to share this with You, it might help understand what I wanted to explain in my article.

Since I know that I am no good writer, I have to find some ways to make you understand what I am talking about. The only ways I can see, are some high quality articles related to the discussed topics written by those having more experience in teaching than me…

So here is the article I have talking about:

http://martinfowler.com/articles/injection.html

Some other papers related to the Inversion of Control Containers and Dependency Injection patterns:

  1. http://en.wikipedia.org/wiki/Inversion_of_Control
  2. http://www.devx.com/Java/Article/27583
  3. http://en.wikipedia.org/wiki/Dependency_injection

Until next time

I wish you happy coding.

N

FRIDAY STORY

The Struggle

© Tony Masiello 2006

What do butterflies have in common with the human spirit? Meet Maggie, a middle aged wife and mother who was about to find out.

Maggie wasn’t rich like a millionaire or poor in a manner of being homeless. She was living an average comfortable life. It was made even better when a beautiful baby girl came her way. She and her husband made sure their daughter had her needs met and they were still able to take a yearly vacation by the beach.

Maggie was a partner in her husband’s business. They both had a different set of duties which kept everything in balance. One day a devastating blow came to her husband’s business, and over a three year period the business dropped out of site. Her husband had to totally reinvent himself and was yearning to fulfill a dream with a new vocation. She was happy for him and supported him fully, but still the money was not coming in. Continue reading