Matthieu Napoli: Middleware-based architectures
Channel: Conferia
Date: 01/02/2018

HTTP middlewares are spreading everywhere since PSR-7, yet they are often seen as an implementation detail for very specific problems.
After having discovered them with PSR-7, after having written a middleware-based framework and after collaborating on PSR-15, my understanding is now different: middlewares help us better understand and design the architecture of our applications.
Let's start again from scratch and work our way up to an architecture entirely built on middlewares: what does it look like and how does it compare to the frameworks we all love?