The ajax engine is a relatively complex JavaScript application used to process user requests, read and write servers, and change DOM content; the Ajax engine can read information and interactively rewrite the DOM, which enables web pages to be seamlessly Seam reconstruction.
The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.
What is AJAX?
AJAX stands for "Asynchronous JavaScript and XML" (Asynchronous JavaScript and XML), which is a web development technology for creating interactive web applications. It uses:
Uses XHTML CSS to standardize presentation;
Uses XML and XSLT for data exchange and related operations;
Use the XMLHttpRequest object for asynchronous data communication with the Web server;
Use Javascript to operate the Document Object Model for dynamic display and interaction;
Use JavaScript to bind and handle all data.
What is the ajax engine
The Ajax engine is actually a relatively complex JavaScript application used to process user requests, read and write Server and change DOM content. JavaScript's Ajax engine reads the information and interactively rewrites the DOM. This allows web pages to be seamlessly reconstructed, that is, changing page content after the page has been downloaded. This is what we have been using extensively with JavaScript and the DOM. method, but to make a web page truly dynamic, it requires not only internal interaction, but also data acquisition from the outside. In the past, we let users enter data and change the content of the web page through the DOM, but now, XMLHTTPRequest allows us to Read and write data on the server without reloading the page, minimizing user input.
Ajax separates the interface and application in the WEB (it can also be said to separate 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. It reduces WEB application errors caused by non-technical personnel's modification of pages, improves efficiency, and is more suitable for current publishing systems. You can also transfer some of the previous work burdened by the server to the client, which is beneficial to the client's idle processing power.
[Related tutorial recommendations: AJAX video tutorial]
The above is the detailed content of what is ajax engine. For more information, please follow other related articles on the PHP Chinese website!