Why use AJAX?
Traditional web pages work like this:
-
User performs an action (e.g., clicks a link, submits a form).
-
Browser sends a request to the server.
-
The entire page reloads with new data.
With AJAX:
-
User performs an action.
-
JavaScript sends an asynchronous request to the server.
-
Server sends data back (JSON, XML, HTML, or text).
-
JavaScript updates only the required part of the page.
? This makes web applications faster, smoother, and more interactive.
What is AJAX?
- Date: 08-Feb-2024
- Time: 02:53 PM
- Host Name: Piyush Jain
- Host Detail: Director, Sensible Computers
- Webinar's Link: meet.google.com/dfp-sxso-swg
- Video Link: Watch Video
Importance of AJAX INTRODUCTION
AJAX stands for Asynchronous JavaScript and XML.
It’s not a programming language, but a set of web technologies used together to:
-
Send and receive data from a server asynchronously (in the background).
-
Update parts of a webpage without reloading the whole page.
? Example: When you type in Google’s search bar and suggestions appear instantly, that’s AJAX.