I know that middlewares has been around forever, but I can't find a graph that properly explains the flow of a request in a middleware application. In this article I tried to highlight each step in the flow, from the request, to the middleware pipeline (a simplified version), and the response. It's focused on our Dotkernel Light, but it should be similar for other applications. https://www.dotkernel.com/architecture/request-lifecycle-for-a-mezzio-based-application/ submitted by /u/arhimedosin [link] [comments]