Websockets give real-time access to your PHP application, facilitating data transfer between the browser and the server. With the popularity of Javascript libraries like Node.js and Meteor, websockets are Hot Stuff™. But just because they’re popular with the Javascript crowd doesn’t mean PHP applications are left out in the cold.

In this talk, we will discuss some use cases for websockets as well as strategies for implementing websockets into your PHP application. We will look at the most popular websocket protocols and specifically an overview of the WAMP protocol (the protocol, not the stack - http://wamp-proto.org) and the PHP Ratchet library. Additionally, we’ll talk about WAMPv2 and Thruway. At the end of this talk, you’ll have a better sense of what websockets are, how they work, and how to use them in your application.

We will look at websockets from a CakePHP standpoint.


Comments are closed.

David Yell at 17:45 on 10 Jun 2017

An interesting talk, but needs a little work on delivery and pacing, to keep the tempo up.

Noah Bratzel at 13:24 on 11 Jun 2017

I liked this talk a lot, probably mostly because I find websockets very interesting. I wish this tech was more applicable. There's a few really good use cases, but not enough for this to get bigger than a small niche.