Inversion of Control Containers and the Dependency Injection pattern
[...] In this article I dig into how this pattern works, under the more specific name of "Dependency Injection", and contrast it with the Service Locator alternative. The choice between them is less important than the principle of separating configuration from use.
Inversion of Control Containers and the Dependency Injection pattern