Web interaction - automatic arrival of the times

xiaoxiao2021-03-06  51

The web interaction has never become such intelligence like today, especially the intelligent perception (Note 1) entered by the client.

In addition to intelligent awareness entered on client users, what will be combined with XMLHTTPREQUEST? Quote Simon's description: Auto Complete Come of Age, I understand the web interaction - Automatic completion of the era, if you don't understand it, you better experience Google Intelligence Suggestion - Google Suggest Look at the query illustration below:

When you enter the letter Y, the client uses JavaScript and combines XMLHttpRequest to return to the query result from Google's search page, you can view the string it returned here:

Sendrpcdone (FrameElement, "Y", New Array ("Yahoo", "Yahoo.com", "Yahoo Maps", "Yahoo Games", "Yahoo Messenger", "Yahoo Groups" "Yahoomail", "Yell"), New Array ("252,000, RESULTS", "1 Result", "16,800,000 results", "11,600,000 results", "15,300,000 results", "8, 140,000 results", "11,400,000 Results "," 810,000 results "," 2,630,000 results "), New Array (" "));

Yes, these strings are Google suggesting that your query is the keyword and the total number of query results!

Further, the client uses JavaScript to analyze the above string, and ultimately manifesting intelligent awareness entered, and automatically completing possible inputs.

Provides intelligent awareness entered and combined with XMLHttpRequest, you can apply in many business sites. Through Google's intelligent suggestion query, typical cases, it is already able to feel the trend of next-generation Web interaction:

• Intelligently perceive the client user input, and automatically complete possible input.

• Intelligent perceived data sources come from the server.

• The concept of web interaction becomes more fuzzy, and the appearance of XMLHttpRequest has allowed client users to notep the ongoing web interaction.

Note:

1. See http://dev.9cbs.net/develop/Article/23/23351.shtm

Attachment:

From the Apple Development Center, demonstrate how to use XMLHttpRequest to get RSS stream data from the client (ie XML data):

http://developer.apple.com/internet/webcontent/xmlhttprequestexample/example.html

转载请注明原文地址:https://www.9cbs.com/read-81911.html

New Post(0)