current location: Home > Download > Learning resources > Web page production > Ajax implementation principle

Ajax implementation principle
Classify: Learning materials / Web page production | Release time: 2018-01-09 | visits: 2996279 |
Download: 162 |
Latest Downloads
Horror Beat Phase Maker
Himalayan Children
Zebra AI
Supermarket Manager Simulator
Red Alert Online
Delta Force
Pokémon UNITE
Fantasy Aquarium
Girls Frontline
Wings of Stars
24 HoursReading Leaderboard
- 1 NYT Connections Answers And Hints - April 19, 2025 Solution #678
- 2 How to display error prompts in yii2
- 3 What are the differences between yi2 and tp5
- 4 How to limit the rate of Yi2
- 5 How to fix Microsoft Office error 2147483661 (Error tag 7Q6ca) in Windows?
- 6 What is the yii framework? Tutorial on how to use yii framework
- 7 Runescape: Dragonwilds - Highlighting The Problem Quest Walkthrough
- 8 Using Dicr/Yii2-Google to integrate Google API in YII2
- 9 How to Build Your Personal AI Assistant with Huggingface SmolLM
- 10 AI For Mental Health Gets Attentively Analyzed Via Exciting New Initiative At Stanford University
- 11 The latest tutorial on how to call public functions
- 12 Jake Paul’s Rumored Next Opponent Would Be The Perfect Choice
- 13 Use Composer to solve the dilemma of recommendation systems: andres-montanez/recommendations-bundle
- 14 What is yii2? What are the advantages and disadvantages of yii2?
- 15 ‘Mario Kart World’ Will Have Its Very Own Battle Royale Mode On The Nintendo Switch 2
Latest Tutorials
-
- Go language practical GraphQL
- 3150 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 4481 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 2485 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 3192 2024-03-29
background:
1. In traditional Web websites, submitting a form requires reloading the entire page.
2. If the server fails to return Response for a long time, the client will become unresponsive and the user experience will be very poor.
3. After the server returns the Response, the browser needs to load the entire page, which is also a heavy burden on the browser.
4. After the browser submits the form, a large amount of data is sent, causing network performance problems.
question:
1. How to improve?
2.What is AJAX?
3. What are the advantages?
4. What are the disadvantages?
1. What is AJAX
1. Why AJAX is needed
When you need to obtain data from the server and refresh the page, if you do not use AJAX, you need to submit the entire form. When submitting the form, send a request to the server, and the page needs to wait for the server to send the response before the page can resume operations. .
2.The concept of AJAX:
1.AJAX = Asynchronous JavaScript and XML.
2.AJAX is a technology used to create fast dynamic web pages.
3. By exchanging a small amount of data with the server in the background, the web page can be updated asynchronously.
4. You can update certain parts of the web page without reloading the entire web page.
3.What is asynchronous
The current page sends a request to the server, and the current page does not need to wait for the server response to operate the web page. After sending the request, the current page can continue to be browsed and operated.
4.What is partial refresh
We can achieve partial refresh in two ways
