Revision 1 as of 2005-05-05 01:04:00

Clear message

Dependency Injection Pattern

The Dependency Injection Pattern, is described in [ Martin Fowler's article]. It is closely related to the DependencyInversionPrinciple and the so called Inversion of Control (IoC) containers.

IoC is aimed at loosening the coupling of application components. The key concepts are:

It is quite a challenge to implement an IoC container for statically typed languages. In python, however, the core concepts can be implemented quite easily. [ DependencyInjectionThePythonWay] describes how.


Unable to edit the page? See the FrontPage for instructions.