PHP - AJAXLesson 76Free preview
AJAX Intro
This lesson is part of PHP · All levels
Summary
AJAX (Asynchronous JavaScript and XML) allows web pages to send and receive data to a server in the background without reloading the entire page. Thus, certain sections such as the list of recommendations or user information can be updated while user interaction remains smooth. Despite its XML name, modern data is more often formatted as JSON.
Key points
- AJAX is an Asynchronous JavaScript and XML, a technique of asynchronous communication to the server.
- Its main advantage is that it updates some pages without fully reloading.
- Classic XMLHttpRequest objects or modern fetches are used to send requests.
- The response format is generally JSON because it can be directly processed by JavaScript.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.