5. Asynchronous Don’t block the current thread No defined execution time Start a call, and designate a callback method for when the call returns. Designing AJAX Applications
7. Low level interface for making AJAX calls. Prototype: $.ajax(settings) jQuery.ajax()
8. url Url that jQuery should use for making the request. dataType The type of data we’re expecting from the response. Xml, JSON, Script, Html success Function to call if the AJAX call succeeds. error Function to call if the AJAX call fails. complete Function to call when the AJAX call returns. Success or Failure. Basic Settings
12. Keep track of AJAX events globally in your applications. $(element).ajaxComplete() $(element).ajaxError() $(element).ajaxSend() $(element).ajaxStart() $(element).ajaxStop() $(element).ajaxSuccess() Global Handlers
14. Let the user know something is happening Progress indicators Loading dialogs Handle errors gracefully Either local or global handlers Plan for worst case scenarios Dial up, hotel wireless SEO Back Button Design Considerations