WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

AJAX Introduction

AJAX is a technology that can update parts of a web page without reloading the entire web page.


What is AJAX?

AJAX = Asynchronous JavaScript and XML.

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


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)
  • JavaScript /DOM (display /retrieve information)
  • CSS (style the data)
  • XML (commonly used as a format for data transmission)


Google Suggest

With the release of Google's search suggestion feature in 2005, AJAX became popular.

Google Suggest Use AJAX to create a highly dynamic web interface: When you type in Google's search box, JavaScript sends characters to the server, and the server returns a list of suggestions.


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.