Working towards decoupled code: Part 3 Ioc Containers

added by mattdlong
11/9/2010 2:26:23 PM

0 Kicks, 46 Views

In my previous two posts I tackled a couple of methods which can be used to work towards decoupled code, the Service Locator and Dependency Injection. I also spoke about the limitations of a traditional service locator in that all objects that are dependent on other objects will need to become dependent on the service locator in order to decouple themselves from those dependencies. This is not ideal when we are trying to work towards decoupled code, but it was a good start.