WebSocket sessions in NodeJS with Express

WebSockets is an advanced technology that makes it possible to open an interactive communication session between the user’s browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply. However, keeping track of sessions in both HTTP and WebSocket…

Continue →

Automating local hosts

Setting up a new local host is a familiar task to most web developers, updating /etc/hosts to include yet another local domain, and potentially updating Apache config to recognise the new server. This process can be made much easier in several ways. Apache configuration The easiest way to not have to deal with basic Apache…

Continue →