Real World Dependency Injection

Stephan Hochdörfer (Jun 12, 2010 at 10:45)
Talk at Dutch PHP Conference 2010 (English - UK)

Rating: 4 of 5

The Dependency Injection (DI) pattern is getting more and more attention in the PHP world due to it's code simplification effects. It focuses on the complete separation of object instantiation and dependency tracking from the business logic resulting in a loosely coupled system. In addition to that the resulting code is a lot easier to test since the classes are no longer responsible for instantiating their own dependencies. This session will introduce the basics of the DI pattern to the audience in addition to share real world experience of DI in several customer projects in the last four years.

Claim This Talk

Comments

Rating: 4 of 5

Jun 12, 2010, 09:43 by jach

Great talk. Good introduction to the subject. Maybe examples in the slide deck could be a bit more simple, so the concept would be more easily understandable.

Rating: 3 of 5

Jun 12, 2010, 09:52 by Gerb

Interesting talk, though I still think that the purpose is really loose coupling. The presentation was well put together, the real world examples were nice. Perhaps the talk could be improved by more direct, runnable examples.

Rating: 3 of 5

Jun 12, 2010, 11:16 by stefano

Really glad with all the examples. Exactly What It (the tittle) Says. No questions asked.
i liked the Con slide where all the frameworks were shown. very funny the Zend_DI was in the list already.
though i didn't like the slides that looked like a right duplicate from the other presentation from before. (http://joind.in/talk/view/1545)

Rating: 4 of 5

Jun 12, 2010, 18:57 by Marsman

Heard about DI, wanted to know what it is. Now I know.

Speaker seemed a bit nervous, but that did not bother me at all.

Rating: 5 of 5

Jun 14, 2010, 07:45 by Anonymous

I missed this presentation but it sounds interesting. Could you post your slides somewhere?

Thanks

Rating: 3 of 5

Jun 16, 2010, 15:50 by tswann

Nice overview of the subject and overall a good talk, but the examples of multiple configurations started to lose me a bit.

It all got a bit repetative with the same XML config file being shown over and over again with only minor change

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
© Joind.in 2010