Talk in English - UK at phpday 2024
View Slides: https://speakerdeck.com/babarinde/building-fast-apis-and-middlewares-mezzio-plus-swoole-481198d5-8b78-40b0-a4f7-b2835182de48
Short URL: https://joind.in/talk/3a8b7
(QR-Code (opens in new window))
We'll be discussing Mezzio: A PSR-15 Middleware framework, allowing you to build elegant middlewares for your applications and also Swoole: a PHP extension that allows you to build high performance applications. In this session, we'll discuss some concepts of middlewares/handlers, the http server, coroutines, tasks. We'll also look at how to combine both Mezzio and Swoole to get the best of both worlds and highlight how this differs from the traditional Apache/Nginx PHP approaches and pitfalls to be aware of when taking the dive.
Comments
Comments are closed.
interesting
very interesting
The talk was filled with a lot of very interesting code examples and information, but I think the value of using Swoole was a bit undersold, since IIRC it should give a one or two order of magnitude faster responses.
really interesting
Very good, but I saw two negative points: the code was not well explained as we have to few seconds to analyze multiple rows of code and the connection of Mezzio with Swoole wasn't well explained, it Swoole a middleware for Mezzio? A library? What type of connections is there between the two? Despite these aspects the talk was interesting.
Quite interesting
I really liked to see a different framework. The approach of using a chain of middleware is very interesting. How the app is bootstrapped, the performance gains and so on. Everything was different from a Laravel/symfony projet and was well explained. I guess it was challenging to stick to the timeline with so much information. Thanks a lot for this eye-opener presentation!