Interesting Articles About PHP Middlewares Posted on December 13th, 2016
While doing research for an upcoming talk about php middlewares, I came across these blog posts and libraries that I thought were really insightful and interesting.
The talk itself was for a Laravel meetup and Laravel as always has really good documentation that makes the concepts easy to understand.
This is the readme for the http interopt working groups middleware implementation. It more filled out than the fig's read me. It has a lot of good information on different middleware implementations.
This blog post was published shortly after the FIG Http Middleware spec was proposed. It explains why the author believes the original spec contained poor design decisions and gives working examples.
A framework agnostic middleware stack. The readme on this stack also contains a lot of good informations and thoughts about middleware design and interface. It's worth reading especially in-conjunction with Ircmaxell's blog post.
These are slides from Weierophinney's talk about PSR 7 and middlewares. It contains a good history and theoretical explanations of middlewares.