Thinking in AJAX (ii)--web design

Source: Internet
Author: User

One, Ajax most commendable is the asynchronous interaction, not without refreshing

Many people are optimistic that Ajax is not refreshing technology, so that the identity of Ajax is used to do without refreshing. This realization is wrong, what is no refresh? No refresh is the page without overloading, what is asynchronous interaction? Asynchronous interaction is a simple multithreading, when you read the article in a blog, but also can use Ajax to do without the refresh of the reply submitted, although it seems to be no refresh, but the most important here is asynchronous, that is, you can read the article, while also to the server to submit your reply to the information, using the good asynchronous, Can be regarded as mastering the essence of Ajax. Many occasions, no refresh is presented to the user's visual experience, and asynchronous interaction is unknown to work in the post, this situation led to the majority of the error understanding of the weight of Ajax.

Second, the recommended on the Web lightweight application Ajax

The famous photo storage site Flickr is superb with Ajax. I say this because I think Flickr is aware of the pros and cons of Ajax, and firmly grasp the features of its own web site, and not because Ajax and Ajax, but to drive technology first, so that Ajax into the Web site, to provide a better functional services. such as Flickr in the Multiple Map list page or Dantu detail page, modify the title and description of the picture has applied Ajax technology, so that users do not have to jump to a separate edit page, edit and click to save, also use asynchronous interactive way to submit data, at this time, A loading character is displayed on the page, and the rest is not affected by any of the other parts, which is a very intimate service.

Another example based on the tag of Professional blog Search service provider Technorati also used Ajax, in search of a tag, the main page will immediately display all Technorati database query the data entry, on the left side bar will display two loading icons, In a moment, the two loading will show specific content, showing links to Flickr's photo and bookmarking Service site (furl&del.icio.us), which is related to this tag, because these two parts are taken from other sites, If by the server unification first obtains the data to display together to the page, will be affected by the network speed to slow down, through the Ajax asynchronous interaction way first immediately displays the local data, then by the client goes with Flickr, Furl, Del.icio.us deal with their data, that is, save the flow of bandwidth without affecting the user access speed, it is clever.

With the above two AJAX-enabled Web sites, we find that they all use lightweight Ajax, which is a simple interaction with less data. This also conforms to Ajax's original intention, although like www.backbase.com and bindows all have the astonishing performance ability in the RIA, but the slow, the search engine support is not good, the development difficulty and so on is unable to satisfy the user, please remember: the ultimate goal of Ajax is to improve the user experience , in order to facilitate user interaction, rather than technical and technical.

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.