In the last few years, AJAX has crept into websites and has slowly become the way to create dynamic, user-friendly and responsive websites. We can further explain it as AJAX is the technology that lets you update the contents of a page without actually having to reload it in a browser. For example, Google Docs utilizes this technology when saving your work every few minutes.
Uses of AJAX
Currently, the core of WordPress uses Ajax in the administration screens and the other uses of AJAX are:
- Instant updates when you are doing comments moderation.
- Updates when you are adding and deleting items from lists such as categories, blogroll, and posts.
- It is also the technology behind the auto-save functionality on post and page editing screens. Several WordPress themes and WordPress plugins also use Ajax.
- Some post rating plugins use Ajax to store the visitor’s rating in the database and then display an updated average rating.
AJAX is not only one technology. As indicated by Jesse James Garrett, who initially coined the term, the following technologies are incorporated:
- Document Object Model
- XMLHttpRequest Object
How does AJAX work?