Iii. Why Ajax?

Source: Internet
Author: User
Unlike traditional Web applications, Ajax uses Asynchronous interaction. Ajax introduces
To eliminate the disadvantages of processing-waiting-processing-waiting in the Process of network interaction. Your browser is
The Ajax engine is loaded when a task is executed. The Ajax engine is written in Javascript, usually hidden in a hidden
Framework. It compiles the user interface and interacts with the server. The Ajax engine allows users to interact with Applications
The interaction process is asynchronous, independent of the communication between the user and the network server. Now, you can use JavaScript to call Ajax
Instead of generating an HTTP user action, the data editing, page navigation, and data validation in the memory do not need to be performed.
To re-load the entire page, you can submit it to Ajax for execution.

With Ajax, you can make it visible to ISPs, developers, and end users:
?? Reduce the burden on the server. The principle of AJAX is to "retrieve data on demand", which can minimize redundant requests,
And respond to the burden on the server.
?? Without refreshing the new page, reducing users' psychological and actual waiting time. In particular, when you want to read a large amount of data
No white screen like Reload. Ajax uses the XMLHTTP object to send the request and obtain
The server responds and uses JavaScript to operate the Dom to update the page without re-loading the entire page.
Therefore, in the process of reading data, the user is not facing a white screen, is the original page content (you can also add
The loading prompt box informs the user that the data is being read.
Contents of the corresponding part. This kind of update is instantly invisible to users.
?? Provides a better user experience.
?? The previous server workload can be transferred to the client, and the client's idle capability can be used to reduce the workload.
Server and bandwidth load, saving space and broadband rental costs.
?? You can call external data.
?? Based on standardized and widely supported technologies, you do not need to download plug-ins or small Program.
?? Further promote the separation of page rendering and data.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.