Take that, ServiceLocator denigrators!
From Inversion of Control Containers and the Dependency Injection pattern by Martin Fowler:
Ha! :P
The choice between Service Locator and Dependency Injection is less important than the principle of separating service configuration from the use of services within an application.
Ha! :P
Comments