AJAX is a technology that can update parts of a web page without reloading the entire web page.
What is AJAX?
AJAX is a technology for creating fast and dynamic web pages.
AJAX makes the webpage update asynchronously through a small amount of data exchange with the server in the background. This means that parts of a web page can be updated without reloading the entire page.
Traditional web pages (without AJAX) need to reload the entire page if content needs to be updated.
There are many examples of applications using AJAX: Google Maps, Gmail, Youtube, and Facebook.
How AJAX Works
AJAX is based on Internet standards
AJAX is based on Internet standards and uses a combination of the following technologies:
- XMLHttpRequest object (interacts with the server asynchronously)
- CSS (style the data)
- XML (commonly used as a format for data transmission)
With the release of Google's search suggestion feature in 2005, AJAX became popular.
Start using AJAX today
In our PHP tutorial, we will demonstrate how AJAX can update parts of a web page without reloading the entire page. The server script will be written in PHP.