AJAX, a Web Applications Creation Techniques
AJAX applications can transfer and receive information in different formats such as HTML, XML, JSON, and text files. The most important AJAX’s feature is its asynchronous nature that makes it possible to exchange data with a web server in the background and update web pages and web applications by changing their content dynamically without reloading the whole page. Users can interact with the application while the browser is communicating with the server.
AJAX cannot work independently and is used in combination with other web technologies to develop interactive web pages. Actually, a group of web technologies is used on the client side to build asynchronous web applications that communicate with the server in the background and do not interfere with the current state of the page.
- HTML and CSS can be used for presentation.
- The XMLHttpRequest object is used to communicate with a server asynchronously.
- The Document Object Model (DOM) is used for dynamic display and use of the data.
There are many web applications that run on Ajax technology such as Facebook, Yahoo, Gmail, YouTube, and Twitter etc. Gmail uses AJAX for different functions such as new mail check and spell check. Google Maps is one of the popular AJAX-based applications and allows users to zoom and scroll the map and drag it on the screen. In Yahoo’s Flickr, Ajax is used for tagging interface and text editing.