Take that, ServiceLocator denigrators!

From Inversion of Control Containers and the Dependency Injection pattern by Martin Fowler:

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

Popular posts from this blog

Posting dynamic Master / Detail forms with Knockout

Comparing Excel files, take two

EF Code First: seeding with foreign keys