Giancarlo Gomez talks about “Brief Introduction To Websockets” in this episode of ColdFusion Alive Podcast, with host Michaela Light.
Giancarlo is one of the speakers for the upcoming Into The Box ColdFusion Conference, where he will talk about WebSockets in CFML.
In his ITB talk, he plans to get into some CF Websockets code. Reviews a couple of concept apps and how to build them using WebSockets. Creates a live dashboard, a collaborating form, a little game and maybe the good old chat. Discuss some tips and tricks to help keep them up and running thru several failure points.
“With WebSockets, when the client connects, it creates a bi-directional connection that the server not only knows that the client is there, but the client also knows that the server is connected and he can send data back and forth. Now when something triggers on the server, through that connection, that message can be sent in real time to not only one, but multiple connected clients that are set to receive that data.” – Giancarlo Gomez
- Why CF Websockets is way more than just a chat client
- How CF Websockets are better than Ajax
- CF 10, 11 and 2016 differences in Websocket features and licensing
- Lucee CFML Websockets using SocketId open source version
- Why adding push notifications live on your website is so powerful
And to continue learning how to make your ColdFusion apps more modern and alive, I encourage you to download our free ColdFusion Alive Best Practices Checklist.
Because… perhaps you are responsible for a mission-critical or revenue-generating CF application that you don’t trust 100%, where implementing new features is a painful ad-hoc process with slow turnaround even for simple requests.
What if you have no contingency plan for a sudden developer departure or a server outage? Perhaps every time a new freelancer works on your site, something breaks. Or your application availability, security, and reliability are poor.
And if you are depending on ColdFusion for your job, then you can’t afford to let your CF development methods die on the vine.
You’re making a high-stakes bet that everything is going to be OK using the same old app creation ways in that one language — forever.
All it would take is for your fellow CF developer to quit or for your CIO to decide to leave the (falsely) perceived sinking ship of CFML and you could lose everything—your project, your hard-won CF skills, and possibly even your job.
Luckily, there are a number of simple, logical steps you can take now to protect yourself from these obvious risks.
No Brainer ColdFusion Best Practices to Ensure You Thrive No Matter What Happens Next
Modern ColdFusion development best practices that reduce stress, inefficiency, project lifecycle costs while simultaneously increasing project velocity and innovation.
√ Easily create a consistent server architecture across development, testing, and production
√ A modern test environment to prevent bugs from spreading
√ Automated continuous integration tools that work well with CF
√ A portable development environment baked into your codebase… for free!
Learn about these and many more strategies in our free ColdFusion Alive Best Practices Checklist.
Mentioned in this episode
- ColdFusion 10
- ColdFusion 11
- Socket.io open source websockets
- Lucee open source CFML
- South Florida ColdFusion User Group
Giancarlo Gomez is a full-stack developer with over 17 years experience with various languages, technologies and a passion to continue to learn. He has been a designer, developer and project lead for several companies stateside and can even say this path took him across the pond years back for a piece of software he wrote that required installation and configuration. The internet was much slower back then and a flight was required. He is the owner/lead developer of Fuse Developments, Inc. established in 2004, his consulting business specializing in web and mobile development and CrossTrackr, Inc., a SaaS for the CrossFit community, targeted towards athletes and gym owners providing real-time insight into athletic progress and health metrics.
Michaela Light: Welcome back to the show. I'm here with Giancarlo Gomez- I think I'm pronouncing your name right there? Also he's known as JC, which is a lot easier to pronounce. And he is the co-manager of the South Florida ColdFusion Users Group, which actually is now a virtual user group. Anyone in the world can join in there; it's through Meetup. And he is not only a dad and a husband, but … Web developer, musician, he owns Fuse Developments, and he created CrossTrackr, in case you do CrossFit and want to track how well you're doing. So welcome, JC.
Giancarlo G: Hello, Michael, thank you. Thank you for having me.
Michaela Light: So I know you're speaking at the upcoming Into The Box Conference and you're talking about WebSockets and … Tell us a bit about that. First of all, maybe we'd better back up a bit. What the heck is a “WebSocket,” in case people have never used it? I mean, I know it's been in ColdFusion for a few versions now, but that doesn't mean people even know it exists.
Giancarlo G: A WebSocket is the ability to send real-time information back and forth between the server and the connected client, with very little to almost no lag. Rather than the user having to poll the server or look for information from the server, the server immediately, once it knows it has information that it can send to subscribed clients, it will do it in real time.