Skip to content

GiancarloGomez/ColdFusion-Realtime-With-WebSockets

Repository files navigation

Realtime with WebSockets

Presented By Giancarlo Gomez

This is the demo code used in my Realtime with WebSockets presentation. This code base includes the following examples.

  • Advanced Socket
    Simple JavaScript Utility that can be used to extend ColdFusion's WebSocket connection to be able to check for connectivity issues, display status messages and handle reconnections.
  • Console
    An updated/enhanced version of the ColdFusion Team's original demo code to work with WebSockets. This can be dropped into any Application to test your WebSocket configuration.
  • Demo Code
    • Clients (Simple and Advanced Socket)
    • Chat App
    • Server Broadcast
    • Server Connected Clients (simple dump)
    • Simple Stats Console
  • Slides
    All slides for each time the presentation was given.

Run using CommandBox

You can easily run the demo using CommandBox. Simply clone this repo to your local machine and execute the box start command at the root folder .

To use the console, make sure to clone the WebSockets Console App and create an alias to the directory or drop inside the root folder.

You can create an alias by running the server set command.

server set web.aliases./console = \path\to\console

Conferences

  • Dev.Objective 2016
  • NCDevCon 2016
  • ColdFusion Summit 2014
  • ColdFusion Summit 2015
  • ColdFusion Summit 2016
  • ColdFusion Summit 2017
  • ColdFusion Summit 2018

Additional Demo Code

Demo code used in the 2016 Conferences can be found in the ColdFusion Realtime With WebSockets Demo Repo