Skip to main content
Ben Nadel at cf.Objective() 2010 (Minneapolis, MN) with: Doug Hughes and Ezra Parker and Dan Wilson and John Mason and Jason Dean and Luis Majano and Mark Mandel and Brian Kotek and Wil Genovese and Rob Brooks-Bilson and Andy Matthews and Simeon Bateman and Ray Camden and Chris Rockett and Joe Bernard and Dan Skaggs and Byron Raines and Barney Boisvert and Simon Free and Steve 'Cutter' Blades and Seth Bienek and Katie Bienek and Jeff Coughlin
Ben Nadel at cf.Objective() 2010 (Minneapolis, MN) with: Doug Hughes ( @doughughes ) Ezra Parker Dan Wilson ( @DanWilson ) John Mason ( @john_mason_ ) Jason Dean ( @JasonPDean ) Luis Majano ( @lmajano ) Mark Mandel ( @Neurotic ) Brian Kotek Wil Genovese ( @wilgeno ) Rob Brooks-Bilson ( @styggiti ) Andy Matthews ( @commadelimited ) Simeon Bateman ( @simBateman ) Ray Camden ( @cfjedimaster ) Chris Rockett ( @RockettMan ) Joe Bernard ( @JEBernard ) Dan Skaggs ( @dskaggs ) Byron Raines ( @byronraines ) Barney Boisvert ( @barneyb ) Simon Free ( @simonfree ) Steve 'Cutter' Blades ( @cutterbl ) Seth Bienek ( @sethbienek ) Katie Bienek ( @KatieBienek ) Jeff Coughlin ( @jeffcoughlin )

CodeChat Beta 1.0 ColdFusion And AJAX Code Base

Published in Comments (12)

Last week, I gave my first ever presentation at the New York ColdFusion User Group. It was waaay too long and tried to cover way too much information, but it was a lot of fun, and a good way to get my feet wet. I hope that they will let me present again as I had a great time. Next time, I am sure I will be much more organized and cover a smaller topic.

Anyway, the topic I covered last week was a stand-alone version of my code-chat beta. It is fixes many of the bugs that exist in my currently live version. If anyone is interested in looking at the code base, download it here:


Why would you be interested? Here are things that this mini-app uses:

  • Cool CSS
  • Advanced Javascript / AJAX / JSON
  • Application.cfc
  • Java method invocation
  • Java object instantiation
  • ColdFusion components and CFC caching
  • File download prompt

This was an AJAX learning experience for me, so please, do not take any of this as best practices.

Reader Comments


Ben. I love the simple Chat App. What would you recommend if I wished to keep all the history in the Chat window? When I close out the window I deletes history. If is there another app that you would recommend?


hi Ben, this simple chat app is wonderful but i can not make it work in Internet Explorer 8 have any suggestions?



You're gonna think I'm crazy, but I have not yet tried IE8 :) I've been so hesitant to install it cause I don't want to lose IE7 for testing.

I really need to get that IE Collection app downloaded so I can do proper cross-IE testing.


Very nice, I too would like to use this as a base for a chat I am working on, but the IE 8 issue is problem ;-(



This code is really old, way before IE8 was even released. It would be fun to try doing something like this again, especially now that I know much more about jQuery.


That would be awesome Ben! Please do something like that! I totally Love reading/playing around with your applications! Please come up with a Jquery version, the codechat version is not working so well :D Thanks, might want to look at


Awesome! I cant wait for it! Just wondering, how would doing this application in Javascript(Jquery) compare with doing it in Flex! Thanks for your immediate response! :) Looking forward to the Super cool Chat App! Thanks again :) :)



I have only played around with FLEX like once or twice, so I am not the best authority. My guess, however, would be that the biggest difference would be in the data communications available. jQuery / Javascript typically communicates with the server via AJAX calls. FLEX, on the other hand, can take advantage of BlazeDS (is that what it's called?) which can keep use a more efficient messanging system.

However, jQuery / Javascript can also do this by using a Javascript-FLEX bridge in which the Javascript talks to a 1x1 FLEX application on the page; this FLEX app, then in turn, talks to the server using Blaze.

But, I know very little about that stuff.


Alright! Thank you so much for your prompt and interesting reply. When do you think you might be able to finish the Jquery version of the chat application? I'm really looking forward! Thanks so much btw :D

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel