JAVA Ajax Tutorial First chapter-First-Knowledge Ajax

Source: Internet
Author: User

Since it is to know Ajax, theory and practice combined, so that they learn faster, more in-depth understanding, I divided a few points:

1, understand the traditional synchronous interactive mode and Ajax solutions

2, the technology used by Ajax

3. Instance Experience Ajax

First, synchronous interactive mode and Ajax solution

The traditional Web application is the way of synchronous interaction, the process of this kind of synchronous interaction is shown as follows

What is the synchronous way of interacting:

First, the user submits a processing request to the HTTP server. Then, after receiving the request, the server is processed according to the business logic in the prepared program, such as exchanging data information with the database server. Finally, the server responds to the request, returns the result to the client, returns an HTML that is displayed in the browser, and usually has a CSS style rich page display.

The lack of synchronization interaction will give users an incoherent experience, when the server processing requests, the user can only wait for the state, the page can only be displayed in blank.

Ajax Solutions

Ajax uses asynchronous interaction processing, a good solution to the inconsistent user experience, processing process as shown:

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.