Asynchronous JavaScript and XML (AJAX) which is the most spoken about technology on the web today is actually not a technology in itself but a term which describes a new approach which looks into using a number of existing technologies like XHTML, CSS, Java Script, DOM, XML and the XMLHttpRequest object to develop quick website user interfaces which not only avoids reload of entire browser page but also offer lots of other responsive features.

The core component of Ajax is XMLHttpRequest that enables execution of server side code without any page refresh. Ajax can send asynchronous requests to the server using JavaScript and XMLHttpRequest object and mapping functions that will be executed when response is received.

The beauty of Ajax is that, you can execute server side code with out any page refresh. Ajax is a world of “No Page Refresh” and rich user interface like windows applications. In traditional web applications, the user actions in the user interface invoke an HTTP request to the web server. Then the server will do lot of process on the server and then returns an HTML page to the client. In Ajax applications, the request is not for GUI or HTML, It is only for data. After fetching the data, you can create the user interface from the client using JavaScript and DOM. Ajax is a client-side technology and can interact with any server side technologies such as PHP, ColdFusion, ASP.net, JSP, and others.

Advantages of Ajax

Rich User Interface
Ajax allows us to create highly interactive user interface. A user don’t like page refresh continuously like typical webpages but they act more like desktop applications thus increasing the usability and interactivity.

Higher Performance
With reduction of page refresh comes reduction of loading times and faster response to actions. There’s no requirement of post back to HTML thus creating a refresh and reload of the whole page.

Who is using Ajax?
Huge web corporations like Yahoo, Google and MSN are making huge investments into develping new websites and converting their existing services to Ajax. The latest version of Google Groups, Google Live Search, Google Maps, Gmal, Flickr, Amazon’s A9, Live Mail, Yahoo mail all are Ajaxified and use Ajax extensively.

Ajax and Kliotech
We at kliotech have been using Ajax in our web development projects ever since the evolution of Ajax. Ajax is used extensively at several situations to avoid un-necessary page refresh, Simplify functionality and where a fast responsive interface is required.