Dependency Injection Containers

I got into a discussion on Twitter the other day where I mentioned that I don’t like DI. Call it lack of sleep or language barrier (on my part), but I said DI — dependency injection — when I meant the dependency injection container. Having said this, let me explain why I don’t like it. POV Despite not working for any of the larger PHP joints out there, I get to spend my time with pretty interesting stuff....

May 30, 2011 · 3 min

A little pain^H^H^H^H^Java never hurt anybody

While I personally agree with some of what Luke Welling wrote in his article “PHP is not Java” for PHP Advent 2008, I also disagree with the general tone of the article and the examples he provides. The example Luke provides might be true in some respects (that it looks like Java code), but the solution offered is the best example why PHP and PHP developers are looked down on most time....

December 22, 2008 · 2 min