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.
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
- Dev.Objective 2016
- NCDevCon 2016
- ColdFusion Summit 2014
- ColdFusion Summit 2015
- ColdFusion Summit 2016
- ColdFusion Summit 2017
- ColdFusion Summit 2018
Demo code used in the 2016 Conferences can be found in the ColdFusion Realtime With WebSockets Demo Repo