(October 7, 2005) - AJAX isn't a technology, or a language, and there's no
recipe to implement it; it's just a combination of various components to
achieve something you otherwise couldn't: asynchronous http requests.
However, since early 2005, when Google and Flickr popularized the concept,
its use has grown rapidly.
The name AJAX is short for Asynchronous JavaScript and XML. It uses the
JavaScript XMLHttpRequest function to create a tunnel from the client's
browser to the server and transmit information back and forth without having
to refresh the page. The data travels in XML format because it transmits
complex data types over clear text.
AJAX uses XHTML for the data presentation of the view layer, DOM, short for
Document Object Model, which dynamically manipulates th... (more)
Should you use the old iFrame tricks or the new XMLHttpRequest? There is not
better or worse when comparing these two techniques, but they are certainly
different. While both of them allow you to communicate with the server in the
background, you should choose the appropriate for your situation depending on
a few questions: Do you want the back-forward buttons to work? Do you plan to
per... (more)
AJAX can make the HTML user experience almost as pleasant as Flash. The main
advantage of Flash, in spite of its vector animations, is that you never
reload the page. Flash Remoting allows you to interface with the server in
the background and AJAX does exactly the same for HTML pages.
In my previous article, "What's AJAX?" (CFDJ, Vol. 7, issue 9), I covered the
basics of AJAX - everythin... (more)
ajaxCFC port for the Model-Glue FrameworkThe latest fad in the Model-Glue
list has been AJAX. How to incorporate Ajax requests to the Model-Glue
framework. Is it pointing directly to the model? To the controller? or going
thru the full cycle by pointing to index, then controller, model, back to the
controller, and passing arguments back to the view?
I ported ajaxCFC to work with Model-Glue... (more)
This content is reprinted from Real-World AJAX: Secrets of the Masters
published by SYS-CON Books. To order the entire book now along with companion
DVDs for the special pre-order price, click here for more information. Aimed
at everyone from enterprise developers to self-taught scripters, Real-World
AJAX: Secrets of the Masters is the perfect book for anyone who wants to
start developin... (more)