Dependency Injection in PHP 5.2 and 5.3

Fabien Potencier (11.Mar.2010 at 11:00)
Talk at ConFoo.ca Web Techno Conference (English - US)

Rating: 5 of 5

Dependency Injection in PHP 5.2 and 5.3

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

 
Comments closed.

Comments

Rating: 5 of 5

12.Mar.2010 at 22:05 by John Kary (80 comments)

Well structured as an intro to DI and why to use it, but the people who are not already using DI might not see the benefits of the DI container or be able to follow the code used to create it, which might turn them off to DI in general.

When you asked if anyone had questions midway through the talk and no one raised their hand, I had the feeling nobody wanted to admit to not being able to follow it. A lot of people seemed to be stirring about, uncomfortable. You went through it a bit fast given the amount of code and complexity, and some of the code colors were hard to see.

I had read the documentation and seen the slides before so I was able to follow, but I know the first time I saw this design pattern and the DI container it threw me for a loop.

Rating: 5 of 5

14.Mar.2010 at 14:46 by Jon Elofson (12 comments)

Nice progression from simple DI to the full DIC (and some of the key benefits). What I liked about the container example was the practical use of some new features (anonymous functions, closures) in 5.3. Thank you for that.

© Joind.in 2019