Feb
6
dependency injection is that it is simply a re-branding of existing object-oriented design concepts…examples typically cited simply show how to fix bad code, not a new programming paradigm.
Offering constructors and/or setter methods that take interfaces, relieving the implementing class from having to choose an implementation, is an idea that was rooted in object-oriented programming long before … any of the recent frameworks that champion it.
http://en.wikipedia.org/wiki/Dependency_injection