Archive for the ‘websocket’ Category

Websockets in Your Synchronous Site

Posted on: No Comments
I’m always yammering on about writing asynchronous PHP code, and for a reason. I think it’s healthy to get fresh perspectives - to be exposed to new programming paradigms. Asynchronous architecture is common in other programming languages, but it...

How to Quickly Build a Chat App with Ratchet

Posted on: No Comments
In this tutorial, we’ll be taking a look at Ratchet, a PHP library for working with WebSockets. Let’s start by defining what WebSockets are. MDN says: WebSockets is an advanced technology that makes it possible to open an interactive communication...