What is AJAX?
- XHTML and CSS for standard presentation,
- DOM (Document Object Model) for dynamic and interactive presentation,
- XML and XSLT for data exchange and manipulation, and
- XMLHttpRequest for asynchronous data retrieval
The term “AJAX” was first muted by Jesse James Garrett of AdaptivePath and has become synonymous with the ideas and concepts of Web 2.0. Ajax has been popularised by the likes of Google in their Gmail and Google Suggest applications, Flickr and del.icio.us, now both owned by Yahoo!.
Below I have listed a few of the frameworks available to the ColdFusion community. I will leave it up to you to decide which one is the best and easiest to implement. Please tell me your experiences.
- ColdFusion components following the best practices of object oriented programming and design patterns. Programming with ajaxCFC involves extending components and creating your own ajax faÃ§ades.
- Intergration with Model-Glue, one of the most popular MVC frameworks widely used by the ColdFusion community.
- Works with ColdFusion MX 6.0, 6,1, 7.0 and Blue Dragon.
- Automatically handles complex object transmitted from the client to the server and vice versa.
- On-the-works: Built-in base64 and/or blowfish encryption.
- Licensed under the Apache License Version 2.0, by Rob Gonda.
The project can be downloaded from Rob Gonda’s website at the following address: http://www.robgonda.com/blog/projects/ajaxcfc/
- Reduced latency due to less parsing of the responses.
- Parameters can be sent to the server in multiple formats including, strings, objects, and entire forms without having to build extra logic to handle each type.
- API has no Server Side components which makes it more portable.
- Extremely simple syntax shortens the learning curve and speeds up development.
- Open-source (Creative Commons Attribution-ShareAlike License).
CFAjax can be downloaded at the following link: http://www.indiankey.com/cfajax/project.asp
SAJAX for ColdFusion
Sajax for ColdFusion is the creation of Steve Smith at Ordered List and can be downloaded from the following link: http://www.orderedlist.com/downloads/SAJAX_ColdFusion.zip