Announcing PSR-15

As of January 22nd, 2017 PSR-15: HTTP Server Request Handlers has been accepted. The final vote was 12 members in favor, none opposed, and none abstaining. I am very grateful to everyone that contributed during the last (almost) two years. And especially thankful for Matthew Weier O'Phinney, who ultimately sponsored…

CQRS: Search Queries

CQRS has been getting a fair bit of attention in the last few months. One of the major benefits of using CQRS is that you can completely isolate reading data from writing data. This allows architecting around slices instead of layers. The less cross-cutting concerns exist in your application the…

Announcing Equip Framework

Last summer the development team at When I Work started to develop an open source framework that would be the basis for future projects and provide a migration path from our aging Kohana codebase to something more modern. Originally we called it Spark. While we liked the idea of "…

Dependency Inversion and PSR-7 Bodies

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,…

All About PSR-7 Middleware

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…