πŸŽ‰ New: Top 75 PHP Interview Questions for 2026 β€” Free for all learners

What is AJAX

P
php Guru
Β· February 17, 2023 Β· 2 min read Β· Updated February 17, 2023

πŸ“Œ Key Takeaways

  • What is AJAX
  • Describe AJAX.
  • What is it used for?
  • AJAX is Based on Internet Standards
Advertisement

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.

 

What is it used for?

Too many web apps, like Gmail, Facebook, Twitter, Google Maps, YouTube, etc., use ajax technology.

 

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.

P
php Guru
← Previous Post
AJAX XMLHttpRequest
Next Post β†’
Synchronous vs Asynchronous - AJAX

Leave a Reply

Your email address will not be published. Required fields are marked *

Prove your humanity: 6   +   8   =