Archive for the ‘WebSockets’ Category

Building Real-time Apps with Websockets & Server-Sent Events

This article was peer reviewed by Craig Bilner and Dan Prince. Thanks to all of SitePoint's peer reviewers for making SitePoint content the best it can be! An important part of writing rich internet applications is reacting to data changes. Consider th...

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...

Build a Web App with Backbone.js and Socket.IO

Posted on: No Comments
As many of you know, Backbone.js is a well-known MV* framework. It’s hosted on GitHub and it gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views ...

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...