Ajax/ AJAX – An Introduction
Asynchronous: XML data loading and normal HTML and JavaScript web page loading are asynchronous. In other words, they do not interfere with each other.
JavaScript: JavaScript is a programming language. Ajax function calls are created using JavaScript.
XML: Data exchange in Ajax takes place in XML format.
Advantages of Ajax
1. A web page developed on Ajax has higher:
o Speed
2. The HTML of a web page can be accessed/ produced in the browser itself. Thus, Ajax effectively decreases the bandwidth consumption.
3. With a jumble of techniques and languages, Ajax gives programmers the freedom to adopt and adapt features as per their requirement.
4. Ajax enables a programmer to have a neat separation among different elements of a web page.
o Data/ content to be uploaded: XML format
A few things to be kept in mind while using Ajax
1. The request-response interval should be minimal, with clear feedback to the user.
2. Back button and bookmarking are issues that have to be taken into account for dynamic web pages to be developed on Ajax.
3. Data that has to be indexed needs to be provided in a search engine friendly format. This is because search engines often skip JavaScript coded content that in turn is a main element of Ajax-based web sites.
Labels: ajax, technology, web 2.0
