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: 2996083 |
Download: 162 |
Latest Downloads
Fantasy Aquarium
Girls Frontline
Wings of Stars
Little Flower Fairy Fairy Paradise
Restaurant Cute Story
Shanhe Travel Exploration
Love and Producer
The most powerful brain 3
Odd Dust: Damila
Young Journey to the West 2
24 HoursReading Leaderboard
- 1 This is the third part of this article. Here is the second part. A recent survey by Grayscale shows how voters perceive investment behaviors and the influence of crypto on their political outlook.
- 2 A Comprehensive Guide to ESnd Arrow Functions
- 3 JavaScript Control Structures
- 4 How to Handle iframes in Cypress
- 5 Miners Reduce Exchange Inflows, Signaling a Potential Bullish Trend for Bitcoin Recovery
- 6 DTX Exchange (DTX) Seen as a Market Disruptor
- 7 Pepe Unchained ($PEPU) Presale Raises $17M, Promises to Revolutionize Meme Coins with Layer 2 Blockchain
- 8 Pepe (PEPE) is climbing toward Dogecoin’s (DOGE) top spot, but analysts predict Rollblock (RBLK) could grow 1,000x by 2026
- 9 Robinhood Unveils New Feature Enabling European Customers to Transfer Their Crypto Assets
- 10 The Unbelievable Growth of CZ's Wealth: Behind the Prison Walls
- 11 Crypto Market Fairly Cautious, Here's Why
- 12 Why Is Flare (FLR) Price Pumping? Analyst Sights a 150% Rally
- 13 Pixelverse Introduces PixelTap Daily Combo Bonus: A Step-by-Step Guide
- 14 Factory Design Pattern in JavaScript
- 15 Explore all console features in JavaScript
Latest Tutorials
-
- Go language practical GraphQL
- 1738 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 3163 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 1614 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 2455 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