ajax技术原理及工作原理简介(国外英语资料)
ajax技术原理及工作原理简介(国外英语资料)
Introduction to the principles and principles of ajax technology
Author: anonymous source: original click: 500 time: 2007-12-2
AJAX, called "Asynchronous JavaScript and XML" (Asynchronous JavaScript and XML), is a web development technique that creates interactive web applications.
The following techniques are mainly included
Ajax (Asynchronous JavaScript + XML) definition
Presentation of XHTML + CSS based on the standards-based presentation
Using the DOM (Document Object Model) to dynamically display and interact;
Using XML and XSLT for data exchange and related operations;
Using XMLHttpRequest for asynchronous data lookup and retrieval;
Use JavaScript to bind everything together. See the text of Jesse James Garrett, an ajax-man in English.
Like DHTML or LAMP, AJAX does not mean a single technique, but rather a series of related technologies. In fact, some ajax-based "derivative/composite" technologies are emerging, such as "AFLAX".
AJAX applications use web browsers that support these technologies as the running platform. These browsers currently include Mozilla, Firefox, Internet Explorer, Opera, Konqueror and Safari. But Opera does not support XSL format objects or XSLT.
Compare to traditional web applications
Traditional web applications allow users to fill in forms and send a request to the web server when the form is submitted. The server receives and processes the incoming form and returns a new page. This wastes a lot of bandwidth because most of the HTML code on both pages is often the same. Because each application is required to send a request to the server, the response time of the application depends on the response time of the server. This results in user interface responses much slower than local applications.
Contrast, AJAX applications can only send and retrieve the necessary data to the server, it USES the SOAP or other web service interface based on XML, and on the client side using JavaScript processing responses from th