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

What is AJAX

P
php Guru
Β· Β· 2 min read Β·

πŸ“Œ Key Takeaways

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

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
PHP Developer & Technical Writer β€” phponline.in A seasoned PHP developer with 8+ years of experience in Laravel, MySQL, and REST APIs. Writes practical tutorials and career guides to help developers grow their skills and income. All salary data is researched from real job postings and developer surveys.
← Previous Post
50+ C++ Interview Questions and Answers 2023
Next Post β†’
Synchronous vs Asynchronous - AJAX