Part 3: Real-Time Browser to Browser Communication, ExtJS Based Chat Application Using Node.Js and Socket.Io

In the previous entries, found here and here, I wrote about how to enable browser to server communication, using Node.Js and Socket.Io and how to emit events and return responses. In this entry I will describe how to route those events among different connected browsers, and how to create a basic chat application using Sencha ExtJS as a user interface, to notify clients when a new user is connected/disconnected and enable chat messaging.

Continue reading Part 3: Real-Time Browser to Browser Communication, ExtJS Based Chat Application Using Node.Js and Socket.Io

Part 2: Real-Time Browser to Browser Communication, Adding Application Specific Events

In the previous part of this article, I wrote an introduction to Node.js and Socket.Io; presenting a basic server and client communication model. In this entry I am writing an extension to the Server and Client JavaScript objects, to allow for Application Specific Events. This provides the basic framework to writing an application that routes messages between two or more browsers.

Continue reading Part 2: Real-Time Browser to Browser Communication, Adding Application Specific Events

Part 1: Real-Time Browser to Browser Communication Using Node.Js and Socket.Io

Usually browsers communicate with the server, sending a request and getting a response. But what if it would be possible to link two or more browsers, while using the server to route requests between the two? With the advance of server side JavaScript, using node.js, and socket connections supported by HTML5 capable browsers (or frameworks to emulate the functionality in older versions – i.e. Socket.Io) this task has become trivial. 

Continue reading Part 1: Real-Time Browser to Browser Communication Using Node.Js and Socket.Io