Asynchronous PHP: No Longer a Hack Job
Channel: OSDC Australia
Date: 2014-11-07

Presented by Ben Dechrai, CTO for Hire

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.

Programme entry: http://2014.osdc.com.au/presentation/1271-asynchronous-php-no-longer-hack-job
Slides: http://www.slideshare.net/ctoforhire/asynchronous-php-no-longer-a-hack-job
Feedback: https://joind.in/talk/view/12621

Note: this presentation only covers the demo for React and Ratchet. The first 10 minutes, which covered previous methods of developing asynchronous PHP code, were lost due to technical difficulties with the recording equipment.