In another word we can say AJAX is a new way of developing a web application where we can change the content of presentation layer (UI) without refreshing the web page.
History of AJAX
In the early-to-mid 1990s, most of the website was static website and website was created using HTML only. whenever end user switch between one page to another page for each page request was getting create and response will be given to the end user. Which was creating additional load on server.
Due to this In 1996, the iframe tag was introduced by Internet Explorer. iframe can load and retrieve the content asynchronously. In 1998 Microsoft team developed XMLHttpRequest and this functionality added to the IE 5 in 1999.
The term Ajax was publicly used on 18 February 2005 by Jesse James Garrett in an article titled Ajax: A New Approach to Web Applications, based on techniques used on Google pages.
Below image shows Conventional mode of web application and AJAX Model of communication in the web application.
Drawbacks of AJAX
- Screen reading technology like JAWS is not able to read the dynamically generated content.
- AJAX was difficult to maintain the debug the issue.