Saturday, January 3, 2009

Synchronous AND Asynchronous

•> Asynchronous
– examples
• Google Maps – http://maps.google.com
– asynchronously loads graphic tiles to support map scrolling
• Google Suggest – http://www.google.com/suggest
– asynchronously updates list of possible topic matches
based on what has been typed so far
•> Synchronous
– even when there is nothing useful for the user to do after a request is submitted to a server, AJaX can be used to retrieve data and update selected parts of the page
without refreshing the entire page.
• better user experience

No comments:

Post a Comment