The last 72 hours have been interesting to say the least. My rebuttal to Anthony's post have lead to some very interesting conversations. Among these is Andrew Carter's post entitled PSR-7 Objects Are Not Immutable in which he details how an exception handler middleware can generate a bad response body,…

On May 10th, 2016, I proposed an HTTP Middleware PSR to PHP FIG. Since then, there has been a significant amount of concern around one aspect of the proposal in particular, which Anthony Ferrara has summarized quite well in his blog post All About Middleware. Before we get too deep…

A while back I write Dependency Injection with Auryn which covered high level configuration of classes. It did not properly discuss how to handle situations where service location is necessary. But Service Locators Are Evil! You'll often hear this statement when talking with someone about dependency injection. In fact, Auryn…

Dependency Inversion is Hard One of the hardest things to do properly when following SOLID principles is Dependency Inversion. I struggled to understand and implement this concept for years. Often I wondered if it was really worth the trouble to write all of that extra configuration just to simplify testing.…