Tuesday, December 22, 2009

Inversion of Control ( IOC ) Design pattern

Inversion of Control (IoC) design pattern  Basics
The Inversion of Control (IoC) pattern is also known as Dependency Injection.
The basic concept of the Inversion of Control pattern is that programmers don’t need to create the objects but describe how they should be created.
IOC  design pattern  alleviates  application objects from the responsibility of creating, and managing their dependencies. Instead, these application objects are free to concentrate solely on fulfilling their business purpose .

Types of IoC
     Interface Injection (Type 1)
     Setter Injection (Type 2)
     Constructor Injection (Type 3)

Some frameworks implementing IOC


For more detailed Information on IOC 

No comments: