jquery Ajax:ajax Concept

Source: Internet
Author: User
Tags object object model return client


The production of Ajax Technologies:
Ajax is considered to be (abbreviated asynchronous JavaScript and XML). Now, technology that allows browsers to communicate with the server without refreshing the current page is called Ajax (asynchronous processing).
Synchronous and asynchronous interactions:
Synchronization refers to: submitting requests-> waiting for processing-> processing completes this period the client cannot do anything------waits for the receiver to return to the response before sending the next packet's mode of communication.
Asynchronous refers to: the request through the event trigger-> server processing (while the browser can still do other things)-> processing-----, do not wait to receive return response, and then send the next packet of traffic.
Google suggest and Google Map Google Gmail
Ajax: A way to communicate with the server without refreshing the entire page-
Flash, Java applets, frames, implicit iframe, XMLHttpRequest: This object is an extension of JavaScript to enable pages to communicate with the server, is the best choice to create AJAX applications. Ajax is actually used as a synonym for XMLHttpRequest objects.
How Ajax works:
Core: JavaScript Object XMLHttpRequest.
This object was first introduced in Intenet Exporer 5, which is a technology that supports asynchronous requests. In short, XMLHttpRequest is that you can use JavaScript to make requests to the server and handle the response without blocking the user.
Ajax introduces an intermediary between the user and the server, eliminating the drawbacks of processing-waiting-processing-waiting-during network interactions.
Ajax is not a new technology:
Service-side language: The server needs to have the ability to send specific messages to the browser. Ajax has nothing to do with server-side languages.
XML: is a format that describes data. XML is the choice for AJAX programs that require some form of formatting to pass information between the server and the client.
XHTML and CSS are standardized rendering; the DOM (Document Object model) implements dynamic display and interaction.
Use the XMLHTTP component XMLHttpRequest object for one step data reading.
Use JavaScript to bind and process all data.
Disadvantages of Ajax:
1. Ajax uses JavaScript and AJAX engines heavily, depending on the browser's support. This article links http://www.cxybl.com/html/wyzz/JavaScript_Ajax/20121106/33635.html

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.