Home >Web Front-end >Front-end Q&A >What are the benefits of using ajax technology
Benefits of using ajax technology: 1. Reduce the burden on the server and improve site performance; 2. Update the page without refreshing, reducing users’ actual and psychological waiting time; 3. Better user experience; 4. Savings Space and broadband rental costs; 5. Reduce web application errors caused by non-technical personnel's modification of pages, improve efficiency, etc.
The operating environment of this article: Windows 7 system, javascript version 1.8.5, Dell G3 computer.
What are the benefits of using ajax technology?
I summarized the advantages of Ajax:
1. Reduce the burden on the server and improve the performance of the site
2. No refresh updates page, reducing the actual and psychological waiting time of users
3. Better user experience
4. You can also transfer some of the previous work burdened by the server to the server and use the idle processing of the client ability to process, reduce the burden on servers and broadband, save space and broadband rental costs
5. Ajax is based on standardized and widely supported technology, and does not require plug-ins and downloading applets
6. Ajax uses the separation of interface and application in the Web (it can also be said to be the separation of data and presentation). In the past, there was no clear boundary between the two. The separation of data and presentation is conducive to division of labor and cooperation, and reduces the need for non-technical personnel to Web application errors caused by page modifications improve efficiency and are more suitable for current publishing systems.
Although it has such advantages, there are always disadvantages:
1. Some handheld devices (such as mobile phones, PDAs, etc.) currently cannot support Ajax very well
2. Ajax engine made with Javascript, Javascript compatibility and debugging are both headaches.
3. Ajax non-refresh reload, because the page changes are not as obvious as refresh reload. Therefore, it is easy to cause trouble to users - even if the user does not know the current data, the current data has been updated; the current solutions include prompting at relevant locations, designing the area where the data is updated to be more obvious, and prompting the user after the data is updated. wait.
4. The support for streaming media is not as good as Flash and Java Applet
5. The intermediate process cannot be bookmarked. Solution: GoogleMaps solves this problem by providing a "link to this page" on the page. In addition, you can also add invalid URL connection? ^ mark to resolve, but not yet verified.
Recommended learning: "ajax video tutorial"
The above is the detailed content of What are the benefits of using ajax technology. For more information, please follow other related articles on the PHP Chinese website!