Popular web applications like Gmail, Google Maps, Yahoo Mail, etc. use AJAX extensively.
Fortunately, jQuery has done this all for us, allowing us to use AJAX functionality with very few lines of code.
Before going further and using jQuery to perform Ajax related jobs, it would be good to be aware of the advantages and disadvantages of using AJAX in our web applications.
Advantages of using Ajax
- Our page would be more interactive and would offer desktop applications-like experience.
Parts of a webpage can be updates without a whole page reload/refresh.
As an Ajax enabled webpage loads only the data needed to update tha page, instead of a whole page refresh/reload, it saves us bandwidth.
It also helps in reducing burdon on server.
Disadvantages of using Ajax
In the coming lessons, we will be learning to use various AJAX related methods of jQuery.
of a web browser, impossible. For the same reason, a specific state cannot be bookmarked by the user.
Data loaded through AJAX is not and cannot be indexed by any of the search engines.
above when designing our application.
Next >>> Lesson No. 26: jQuery Ajax: load()