A brief look at AJAX

Posted by ActiveEnnovations

AJAX is an acronym for Asynchronous JavaScript and XML.  It isn’t a

programming language in itself , but is comprised of other existing technologies.

These technologies being HTML, Cascading Style Sheets (CSS), JavaScript,

the Document Object Model (DOM), XML , XSLT , and the XMLHttpRequest object.

 

With all of these components combined the creation of dynamic user interfaces on websites and web applications much easier. Since AJAX is asynchronous you can instantly update selected portions of the web pages rather than having to refresh the page each time a change has occurred. It can do this because rather than having a HTTP request that just goes back and forth from the website to the server, the AJAX engine becomes an intermediary between the two. The AJAX engine passes all server requests through JavaScript with the XMLHttpRequest object, while the AJAX engine itself handles all other request that don’t need to access the server.

 

To break down the process HTML and CSS are still used to format and stylize the webpage, while JavaScript is used to access the Document Object Model which causes the displayed information to become more dynamic and interactive. The browser and server interaction is passed through the XMLHttpRequest object. And the data sent

back to the browser is commonly formatted with XML.

Posted on: 9/9/2009 at 10:32 PM
Tags: , , , , ,
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (2) | Post RSSRSS comment feed