CodeChat Beta 1.0 ColdFusion And AJAX Code Base

Posted March 19, 2007 at 2:44 PM

Tags: ColdFusion

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:

code_chat_2007_03_19.rar

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.

Post Comment  |  Ask Ben  |  Permalink  |  Other Searches  |  Print Page




Learning ColdFusion 9 - ColdFusion 9 tutorials, samples, examples, demos

Reader Comments

Jun 14, 2009 at 8:53 PM // reply »
2 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?


Jun 15, 2009 at 9:11 AM // reply »
6,516 Comments

@Chris,

You'd have to store the chat history to a database of some sort.


Oct 8, 2009 at 8:05 AM // reply »
1 Comments

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


Oct 31, 2009 at 5:41 PM // reply »
6,516 Comments

@Will,

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.


Post Comment  |  Ask Ben

Recent Blog Comments
Nov 21, 2009 at 1:13 PM
My First ColdFusion Builder Extension - Encrypting And Decrypting CFM / CFC Files
@Ben, Because I am pedantic, I just want to make sure that everyone knows there is absolutely no encryption going on. There is only encoding and obfuscation. The cfencode tool only obfuscates your C ... read »
Nov 21, 2009 at 12:28 PM
Using ColdFusion Structures To Remove Duplicate List Values
@Jody I can't seem to get your code sample to work. If you are still having problems, try this code out and see if it gets you what you wanted. <!--- Comma delimited list with various duplicates ... read »
Nov 21, 2009 at 11:03 AM
Groovy Operator Overloading Does Not Work In The ColdFusion Context
Hi Ben, Thanks for this informative post. Now I am reading ur old posts too ... read »
Nov 21, 2009 at 10:56 AM
HostMySite.com Has The Best ColdFusion Hosting
@Mehul, Yes very nice people, however several downtimes per day which was not acceptable. Hence we had to move out. I am glad you are having good luck with them so far. ... read »
Nov 20, 2009 at 11:32 PM
Five Months Without Hungarian Notation And I'm Loving It
I've used headless camel case for years for not only ColdFusion variables, but also SQL tables and fields... pretty much everything involving code. I also subscribe to the "don't abbreviate and clea ... read »
Nov 20, 2009 at 11:00 PM
Five Months Without Hungarian Notation And I'm Loving It
@Marcel, Yeah, I always err on the side of longer but more readable variable names. As for the camel casing of CF methods and the headless camel casing of custom items, I get around this by always ... read »
Nov 20, 2009 at 10:56 PM
Five Months Without Hungarian Notation And I'm Loving It
I use the following and love it: my.namespace.MyComponents.functionMethodsOrUDF() CONSTANT_VALUES_OR_PROPERTIES One thing I always try is to CamelCaseBuiltInColdFusionFunctions() so others can tell ... read »