3. What is Ajax?
Asynchronous JavaScript And XML
A new Technology
Not a Programming Language
It is methodology on using several web technologies together to minimize
the gap between usability and interactivity of a web application .
4. Development
Developed in 1990’s .
First Microsoft included iframe in Internet Explorer in 1996 .
Another technology ‘Microsoft Remote Script’ introduced by Microsoft in
1998 .
XMlHttpRequest object, an ActiveX control, was introduced by Microsoft in
1999 .
Renamed as AJAX by Jesse James Garret after Google introduced its Map .
Finally, in 2006 it was announced as an official web standard by W3C .
5. Importance of AJAX
Update a web page without reloading the page
Do not load entire pages
Request data from a server - after the page has loaded
Receive data from a server - after the page has loaded
Send data to a server - in the background
6. Technologies
HTML & CSS : For presentation
DOM(Document Object Model) : To interact with data dynamically
JSON or XML : For manipulation of data
XMLHttpRequest : To communicate data asynchronously
JavaScript : To bring these technologies together
Nowadays JSON ( JavaSript Object Notation ) is used instead of XML
9. Advantage Of Ajax
More interactive
Helps to build fast, dynamic websites
Allows to perform processing on client computer with JavaScipt
Reduces server traffic
Ajax can modify a part of a page without reloading the browser
10. Disadvantage of AJAX
Browser should support JavaScript or XMLHttpRequest , otherwise AJAX
will not work
Refresh button is useless
Don’t have URLs
Debugging is difficult
Problem with browser back button
Screen readers are not able to read the AJAX properly
Dynamic page updates may disrupt user interactions, particularly if the
Internet connection is slow