By bloid
via blogs.msdn.com
Published: Jul 01 2008 / 08:44
Long live “Dependency Resolution”!
OK, so I’m not really serious – but I got your attention right? Truth is, I personally love Dependency Injection, but that doesn’t mean it isn’t without its flaws. The Service Locator pattern is often touted as Dependency Injection’s nearest rival, so let’s very briefly examine some of the characteristics of each of these to see what works and what doesn’t.
Comments
phpimpact replied ago:
Great article.
albert123 replied ago:
I hate bullshit lying headlines like the one!! look at the first lines of the blog
OK, so I’m not really serious – but I got your attention right? Truth is, I personally love Dependency Injection,
shit!
joecoder replied ago:
More evidence why programmers shouldn't try to be funny.
ceaseoleo replied ago:
Regardless of the title as joecoder pointed out.. this is a very good read. DI vs Service Locator vs AOP. Overall good arguments for each , although biased towards an aop approach as to push some product.
Voters For This Link (8)
Voters Against This Link (5)