What is Ajax?
For instance, without Ajax, Google Maps might require you to click a link on the left side of the map and wait for the page to reload in order to scroll the map to the left.
With Ajax, you can instead simply drag the map to scroll, and while there might be a small delay, it is a much shorter delay and less disruptive process than if you had to wait for the entire page to load.
How does Ajax work?
Next, a program on the webserver (probably also created by the web programmer) processes the request and sends back a response or some data. Typically the data is in XML format, but that is not actually required.
Ajax in WordPress
Because of its responsiveness, Ajax technology is being adopted by all sorts of websites — and WordPress is no exception. Currently, the core of WordPress uses Ajax only in the administration screens.
For instance, Ajax is used for instant updates when you are doing comment moderation, and when you are adding and deleting items from lists such as categories, blogroll, and posts; Ajax is also the technology behind the auto-save functionality on post and page editing screens.
Several themes and plugins also use Ajax; for instance, some post rating plugins use Ajax to store the visitor rating in the database and then display an updated average rating.
- Wikipedia Ajax article
- Adaptive Path Ajax essay
- Codex – Ajax in Plugins – WordPress-specific information on how to add Ajax to plugins
- Webpastie Ajax tutorial
- Alex Bosworth Ten Common Ajax mistakes
- fiftyfoureleven Ajax Examples List