2
votes
Vote UpVote

Service Locator is Indeed an Anti-pattern

Nick Hodges – As you know, I love Dependency Injection.  I wrote a whole series of articles on it using the Spring for Delphi framework, and in my previous position instituted its pervasive use in the large project there. Iā€™m scheming to integrate it into the legacy app I work on now.  I bought and read the definitive book on the subject: But there was always one thing that bugged me -- In Mark Seemann's book and in this article (Service Locator is an Anti-pattern) he argues against the use of a ServiceLocator ā€“ that is, a class that grabs instances out of the DI Container and hands them to ...
Favorite? Off-Topic? nick@nickhodges.com @ 2013-06-06 03:20

Statistics

Visits: 1456
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Jeroen Pluimers
Stefan Glienke
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)