Asynchronous PHP: No Longer a Hack Job
- 30 minute talk
What is this heresy? PHP as an event-based programming language?
Actually, anychronous PHP has been possible for a while. Sort of. By using shell_exec where available, forcefully detaching the client from the PHP process, managing socket connections or even through cURL, developers have found a number of ways to make PHP asynchronous. There's a reason this never really became mainstream.
Now, there is a better way, folks, and if you'll step this way, I'll take you down the ReactPHP rabbit hole and back again in less time that it takes to make 3.6 billion requests!
ReactPHP is event-driven, non-blocking I/O with PHP, and Ben intends to spruik its wares, and throw in a few live demos to boot.