Link Details

Link 91582 thumbnail
User 111696 avatar

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.
  • 8
  • 5
  • 1146
  • 508

Comments

Add your comment
User 287383 avatar

phpimpact replied ago:

0 votes Vote down Vote up Reply

Great article.

User 275836 avatar

albert123 replied ago:

2 votes Vote down Vote up Reply

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!

User 261293 avatar

joecoder replied ago:

0 votes Vote down Vote up Reply

More evidence why programmers shouldn't try to be funny.

User 283139 avatar

ceaseoleo replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (5)