Bye bye cfajax- hello ajaxCFC
After dealing with cfajax I decided to write my own AJAX component. Don’t get me wrong, I like cfajax and it worked great for a while. I even wrote two articles about CF+AJAX, but I wanted something better (article 1, article 2)
CFAJAX has some neat features like using hints to automate some processes, but unfortunately, they’re useless to me.
ajaxCFC is component based and extremely easy to expand. It also automatically and painlessly maps all JS strings, arrays, or objects to ColdFusion so there is no need for wddx or json.
ajaxCFC permits both asynchronous (default) or synchronous modes. Many may argue that it defeats the purpose, but I will post some examples soon that show how useful and necessary is to send synchronous packets.
You can download the framework and some examples through the projects page. Documentation will come soon.
As usual, comments are welcomed.
CFAJAX has some neat features like using hints to automate some processes, but unfortunately, they’re useless to me.
ajaxCFC is component based and extremely easy to expand. It also automatically and painlessly maps all JS strings, arrays, or objects to ColdFusion so there is no need for wddx or json.
ajaxCFC permits both asynchronous (default) or synchronous modes. Many may argue that it defeats the purpose, but I will post some examples soon that show how useful and necessary is to send synchronous packets.
You can download the framework and some examples through the projects page. Documentation will come soon.
As usual, comments are welcomed.
TrackBacks
There are no trackbacks for this entry.
Trackback URL for this entry:
http://www.robgonda.com/blog/trackback.cfm?0CEE8936-3048-7431-E4485A7582D56581
http://www.robgonda.com/blog/trackback.cfm?0CEE8936-3048-7431-E4485A7582D56581









Sami
I added the first two examples now. I'll add more complex ones over the weekend.
Hairiemx, I would have to disagree. The code you provided looks exactly like cfajax, and every cfajax’s comments. It does not permits complex objects to be passed seamlessly, and it’s not object oriented. I am not arguing that it works, all I’m saying is that even though ajaxCFC is only in alpha right now, it’s not comparable with the script you provided.
Sami, thanks a lot. I’m looking forward to make this the most widely used cf+ajax framework. I welcome any critiques or requests of what you want to see implemented to make the CF’s programmer life easier.