PHP – AJAX Introduction

With AJAX, you can change parts of a web page without having to load the whole page again.
The letters AJAX stand for “Asynchronous JavaScript and XML.” It’s a collection of technologies that work together, such as JavaScript, DOM, XML, HTML/XHTML, CSS, XMLHttpRequest, etc.

AJAX lets you send and get data at different times without having to reload the web page. So it’s quick.

AJAX lets you send only the important parts of a page to the server, instead of the whole page. So, only useful information from the client is sent to the server. It makes your app faster and more interactive.

Describe AJAX.

AJAX = JavaScript and XML that run in parallel.

AJAX is a way to make web pages that load quickly and change all the time.

AJAX lets small amounts of data be sent back and forth between the server and the web page in the background. This lets web pages be updated at different times. This means that parts of a web page can be changed without having to reload the whole page.

Traditional web pages that don’t use AJAX have to reload the whole page when the content changes.

Google Maps, Gmail, YouTube, and the tabs on Facebook are all examples of applications that use AJAX.


AJAX is Based on Internet Standards

AJAX is based on the standards of the internet and uses a mix of:

XMLHttpRequest object (to exchange data asynchronously with a server)
JavaScript/DOM (to show the information and interact with it)
CSS (to style the data) (to style the data)
XML (often used as the format for transferring data) (often used as the format for transferring data)

AJAX applications work on any browser or platform.

Why and when AJAX became popular

With Google Suggest in 2005, Google helped spread the word about AJAX.

AJAX is being used by Google Suggest to make a very dynamic web interface: When you start typing in Google’s search box, the letters are sent to a server by a JavaScript. The server then sends back a list of suggestions.

Ajax Index


Ajax Tutorial

  • What is AJAX?
  • Asynchronous
  • Ajax Technologies
  • XMLHttpRequest
  • How AJAX Works?


  • AJAX Example
  • AJAX with Database
  • Email Finder
  • Comment Form
  • Search Example



AJAX Interview

  • AJAX Interview Questions


Start Using AJAX right away

In our PHP tutorial, we’ll show how AJAX can be used to change parts of a web page without having to reload the whole page. PHP will be used to write the server script.

Visit our AJAX tutorial if you want to learn more about AJAX.

People also search
Scroll to Top