Introduction to Asynchronous PHP and ReactPHP
A lot has changed since PHP was used only for rendering web-pages. Now PHP is something more than a request-response cycle. The event-driven architecture and asynchronous I/O processing of any number of streams in real-time allow you to build a whole new category of applications!
In this talk, I will cover the basics of event-driven architecture and asynchronous programming. And ReactPHP is the most popular package that makes it possible to write asynchronous PHP code. We’ll discuss core abstractions such as an event loop, promises, and streams and their implementation in ReactPHP. Then we will dig into some real-world code along with how to leverage it into the traditional synchronous environment.
- Neos Conference 2020