Websockets and Event-driven Programming with ReactPHP


Comments are closed.

Robert Radtke at 15:53 on 4 Mar 2016

Easier than I thought - thanks!

Jesse Donat at 20:38 on 5 Mar 2016

Would have liked more info about the client side. There was only one small client side code sample with "this is all you've gotta do!". I would have liked a much more in depth explanation of the client side and what goes actually over the wire / the protocol in general. Less time explaining React and event driven programming, and more on WebSockets would have been ideal.

Jesse - Thanks for the feedback. I chose to focus on the PHP side, for two reasons. First, there's really not much to say about the Javascript side, since it really is very simple, and second, this was intended to be a PHP talk, so I focused on the PHP side of the equation. I'm sorry this didn't meet your expectation for the talk; I'll try to make this more clear in the future.

Great introduction to some of the basic concepts in event-driven programing. I think the audience could benefit from more background on the code and how to write a basic event-driven PHP app, as it requires a very different way of thinking about handling clients as compared to running PHP on a per-request basis in Apache or NGINX.

Thanks again for the shout-out to Icicle!