Ajax Presentation

1,748 views

Published on

Ajax presentation for Web Programming at Plymouth State University.

Published in: Technology
  • Be the first to comment

Ajax Presentation

  1. 1. Jon Doane
  2. 2. What is Ajax [AJAX]? <ul><li>Original Acronym of AJAX: Asynchronous JavaScript and XML. </li></ul><ul><li>Currently known as Ajax which doesn’t require XML or JavaScript. </li></ul>Ajax code is typically called and run on the client-side.
  3. 3. Why Use Ajax? (Pros) <ul><li>Functionality for the client. </li></ul><ul><li>Can reduce bandwidth usage. </li></ul><ul><li>Dynamic Content. </li></ul><ul><li>Security and Validation. </li></ul>
  4. 4. Why not to use Ajax. (Cons) <ul><li>Fetched content does not register with browser history. </li></ul><ul><li>Have fun bookmarking. </li></ul><ul><li>Can bring a server to its knees. </li></ul><ul><li>No viable reason to need to use it. </li></ul>
  5. 5. Good uses of Ajax. =D <ul><li>Gmail (Google Mail) – Link </li></ul><ul><li>Zimbra (Email @ PSU) – Link </li></ul><ul><li>Advanced Ajax Usages </li></ul><ul><li>iGoogle (Customizable Home Page) </li></ul><ul><li>Backbase AJAX RSS Reader </li></ul>
  6. 6. Bad Uses of Ajax. t.t <ul><li>Form Submission </li></ul><ul><li>Requiring Ajax for required functionality. </li></ul><ul><li>Authentication </li></ul><ul><li>Having it do everything under the sun. </li></ul>
  7. 7. Ajax: When JavaScript Fails. <ul><li>What if JavaScript or other technologies fail due to client-side restrictions? </li></ul><ul><li>Ajax is no longer limited to use of JavaScript and XML. </li></ul><ul><li>Ajax is a method, not something you should rely on. “Program defensively.” </li></ul>
  8. 8. Ajax Intensive Web Applications and Web 2.0 <ul><li>We have the technology to (insert here). </li></ul><ul><li>Google Maps </li></ul><ul><li>Forums with “Quick Reply” </li></ul><ul><li>Meebo – Web-Based Instant Messaging Client (Requires the use of JS and Ajax) </li></ul><ul><li>YouTube </li></ul><ul><li>Facebook </li></ul>
  9. 9. Ajax: Conclusion <ul><li>Very powerful when used appropriately. </li></ul><ul><li>It is a method not a necessity. </li></ul><ul><li>Do not rely on it if at all possible. Have an alternate method if it fails. </li></ul>
  10. 10. Citations <ul><li>http://en.wikipedia.org/wiki/Ajax </li></ul><ul><li>http://it.toolbox.com/blogs/beyond-the-enterprise/using-ajax-in-real-life-10982 </li></ul><ul><li>http://sixrevisions.com/ajax/ajax_techniques/ </li></ul><ul><li>http://www.adaptivepath.com/ideas/essays/archives/000385.php </li></ul>

×