Real World Dependency Injection

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

Rating: 3 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.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

Comments closed.


Rating: 4 of 5

12.Jun.2010 at 11:43 by Jacob Christiansen (59 comments)

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

12.Jun.2010 at 11:52 by Gerben (53 comments)

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

12.Jun.2010 at 13:16 by Stefano (2 comments)

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. (

Rating: 4 of 5

12.Jun.2010 at 20:57 by Onno Marsman (66 comments)

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: 3 of 5

16.Jun.2010 at 17:50 by Tim Swann (41 comments)

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

© 2015