Subscribe Rss:


Thursday, December 24, 2009

About Ajax

Developing a web application has now been a cup of coffee for developers having knowledge of Ajax technology that was not so easy and hence not popular earlier.

Ajax plays a major role in developing fast, interactive, dynamic and responsive site and can run on various operating systems, computer architectures and browsers.Its asynchronous characteristics have made it popular among the users to develop their site using ajax.

Ajax is not a single technology but an amalgamation of several technologies that ius being used to develop interactive web applications.It is some time referred to asynchronous javascript with added XML, which is used to enhance the interactivity, speed, functionality and usuability of the web pages.

The term Asynchronous refers to functionality of the data processing in which the user can perform the other request without interfering the backend processing and the desired output displays after ending the page-loading process

In short, we can define Ajax as an asynchronous powerful technique that integrates
  • Standards based presentation using XHTML & CSS
  • Data interchange with XML and XSLT
  • Dynamic display and interaction of pages using via DOM
Advantages of Ajax
       The biggest advantage of ajax is its bandwidth usage because it generates HTML  locally within the browser and does not require loding the whole data after amending any portion of the programming.
       The other foremost advantage is that its supports  a wide range of operating system platform, computer architecture, browser and languages.

Disadvantages of Ajax
       Despite of having several advantages, Ajax also has some common disadvantages and some of them are:
  • Though Ajax is a cross platform tool, yet it has limitation, as it cannot run on the old version of Opera and Safari browser and needs to enable XMLHttpRequest to run Ajax
  • Ajax generates dynamic pages that do not register itself with cookies, so user can't find previous pages by pressing 'Back' button, but can enable with GET HTTP request. Cookies also don't work with large request and hence need to add the cookie request.
  • In the absence of proper sitemap, it was difficult for the Search Engine Optimizer to search the web page as  search engine too feel difficulty to execute it, while if it is provided data with full-page refresh.