WebSockets give you real-time access to your application, facilitating communication between the browser and the server. WebSockets may seem they’re only for Javascript, but you can use them in PHP as well. We will discuss use cases and strategies for implementing WebSockets. We will look at the most popular protocols; specifically the WAMP, as well as the Ratchet, and Thruway libraries. At the end of this talk, you’ll understand what WebSockets are, and how to use them in your application.

Comments

Comments are closed.

Rated 3

Karl Hepler at 11:12 on 25 May 2017

I honestly expected more explicit details in web socket implementation on both the server and client sides (granted the spec is fairly straight-forward). Instead, this was a personal-experience story that seemed to be more focused on generalized topics around web sockets and the trials and tribulations associated with the speaker's implementation on a specific project. I did appreciate hearing about the pitfalls associated with this approach and the methods the speaker used to overcome them (especially the information about the separate open file limits in the OS and PHP). Unfortunately, I left this talk less excited about the possibility of using web sockets in PHP than I started with - feeling that PHP just isn't the right platform for this technology.

Good talk. Extra star for the live demo.

Rated 4

Joshua Smith at 13:49 on 25 May 2017

This was a good talk about websockets in general and gave some good use cases for it. The presenter was very personable and I enjoyed listening to the story of how he successfully used websockets to solve his business problem.

I also particularly enjoyed talking about how PHP can be the server end of the socket and some of the problems inherent in that (i.e. 1024 connection limit, long-running process concerns).

Decent talk

Rated 4

Mark Knapik at 10:36 on 29 May 2017

Very good talk. Loved the real-world experiences and pitfalls.
I would've liked to hear a little more about the server implementation side of things.

Rated 4

Anonymous at 16:12 on 5 Jun 2017

Really awesome dig into the concept and how it applies along with some pitfalls to watch for and where to go next. Great for someone starting from zero on websocket concepts