Inversion Of Control

A very good text titled Inversion of Control Containers and the Dependency Injection Pattern can be found at MartinFowlers bliki: http://www.martinfowler.com/articles/injection.html

See HollywoodPrinciple.

Related concepts: DependencyInjection, SetterInjection, ConstructorInjection, TheGuiThreadIsTheMainThread


When did InversionOfControl change from a term describing how I/O is performed in event-driven operating systems and frameworks into a term that means "pass an object's dependencies to the constructor" which is just normal object-oriented programming?

Event driven I/O frameworks are instances of IoC, not the definition. It doesn't mean passing anything to constructors. See HollywoodPrinciple and Martin Fowler's article for more.

IoC, as another term for DependencyInjection, is just passing things to constructors.
CategoryPattern CategoryEvents

EditText of this page (last edited January 3, 2010)
FindPage by searching (or browse LikePages or take a VisualTour)