Introduction to Ajax

Source: Internet
Author: User
Tags object model xslt

Posted from http://baike.baidu.com/view/1641.htm

I reproduced a part of the original article, mainly the content of the introduction.


Ajax is all called "Asynchronous JavaScript and XML" (Asynchronous JavaScript and XML), a Web development technology that creates interactive Web applications.



It mainly includes the following kinds of technology
The definition of Ajax (asynchronous JavaScript + XML)
A representation based on the Web Standard (standards-based presentation) xhtml+css;
Use DOM (Document Object Model) for dynamic display and interaction;
Use XML and XSLT for data exchange and related operations;
Using XMLHttpRequest to query and retrieve asynchronous data;
Use JavaScript to bind all things together. In English, see the original version of the Ajax author Jesse James Garrett.
Like DHTML or Lamp,ajax is not a single technology, but an organic use of a range of related technologies. In fact, some Ajax-based "derivation/Synthesis" (derivative/composite) technologies are emerging, such as "Aflax".

Ajax applications use a Web browser that supports the above technologies as a running platform. These browsers currently include: Mozilla, Firefox, Internet Explorer, Opera, Konqueror and Safari. However, Opera does not support XSL format objects, nor does it support XSLT.



comparison with traditional Web applications

Traditional Web applications allow users to fill out forms, sending a request to the Web server when a form is submitted. The server receives and processes the form, and then returns a new page. This approach wastes a lot of bandwidth, because most of the HTML code in the last two pages is often the same. Because each application interaction needs to send a request to the server, the response time of the application depends on the response time of the server. This causes the user interface to respond much more slowly than the local application.

In contrast, AJAX applications can send and retrieve only the necessary data to the server, using SOAP or some other xml-based Web service interface, and using JavaScript on the client to handle the response from the server. Because the amount of data exchanged between the server and the browser is much reduced, the result is that we can see applications that respond faster. At the same time, a lot of processing work can be done on the requesting client machine, so the Web server has less processing time.
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.