Ajax Abuse Todcon2008

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Ajax Abuse Todcon2008 - Presentation Transcript

    1. AJAX Abuse The when and why to use JavaScript.
    2. Definitions: AJAX, DOM Scripting, Web Application
      • What is AJAX?
      • What is DOM Scripting?
      • Web page or application?
    3. Asynchronous JavaScript and XML (AJAX)
      • Used for creating interactive web applications
      • Uses XMLHttpRequest or Remote Scripting to get ‘data’ not just XML
      • Cross-platform , no plug-ins required, speeds things up , makes your apps more ‘usable’
      • Source: http://en.wikipedia.org/wiki/AJAX
    4. Document Object Model Scripting (DOM Scripting)
      • Programmatically accessing the Document Object Model
      • Uses a scripting language and valid markup
      • Is browser independent
      • Degrades gracefully
      • Source: http://en.wikipedia.org/wiki/DOM_scripting
    5. Web Application and Web Page
      • Web Applications are reliant on the Web Browser to render the application executable.
      • Web Applications have read/write access to data
      • Web Page is a ‘static’ presentation of data
    6. Symptoms of abuse: typical
      • Application solves a problem
      • Attractive design
      • User interface is smart and sexy
      • It takes around 1 min to load all the JavaScript, rendered HTML jumps around, and search engines can’t find relevant information
    7. Symptoms of abuse that may result in app death
      • Features present because they can be there
      • Problem not clearly defined
      • Entire application is JavaScript
      • Browser support limited to latest browsers and high resolution
    8. Application design decisions guided by technology over desired outcomes
    9. Basics of a web application
    10. Basic Web App
    11. Basic Web App: Ajax
    12. What you can do with AJAX
      • Replace the server side interactions that would normally require a page refresh
      • Reduce number of ‘pages’ required in the application
      • Manage the ‘back button’ and maintain state
      • But… why would you do this and how does it influence the user experience?
    13. Well intentioned enhancement of the experience over meeting actual user requirements .
    14. Basic Web App: Enriched
    15. Basic Web App: Enriched
    16. Use Ajax to enhance your application
      • Auto-save form input
      • Live data validation against the server
      • Search features
      • Social interactions
      • …or anything that benefits from immediate feedback from the server .
    17. Using JavaScript is not easy no matter what tool makers or .js libraries claim.
    18. Tools: Applications
      • Dreamweaver CS3
        • Good for Adobe Spry Library
        • Effective learning tool
      • Aptana
        • Powerful IDE for end to end JavaScript development
        • Jaxer moves JavaScript into server side realm
        • Good for hardcore JavaScript coders
      • Spket IDE
        • Similar to Aptana and a dozen more like it…
    19. Tools: Libraries
      • jQuery
        • http://jquery.com/
      • YahooUI
        • http://developer.yahoo.com/yui/
      • Google Web Toolkit
        • http://code.google.com/webtoolkit/
      • Adobe Spry
        • http://labs.adobe.com/technologies/spry/
    20. Tools: Web browsers
      • Firefox
        • Firebug extension
      • Internet Explorer
        • DebugBar
    21. AJAX abuse is subjective.
    22. Why you may not care
      • People log into your application anyway so search engines are useless
      • Everyone in our user group has broadband
      • Computers are faster
      • IE 6 is dead
    23. Why you should care
      • Browser updates can make lazy JavaScript a nightmare (IE 6 to 7)
      • People have video streaming, audio streaming, gaming, wireless issues, eating bandwidth and processor
      • No one cares about a slick interface if there is no value to them
    24. How can you avoid it?
      • Understand the limits of the technology
      • Leverage best practices in web application development
      • Compliment your UI with JavaScript, don’t base your UI on it
      • Utilize libraries wherever practical
      • Hire js experts for complex projects
    25. About me
      • Jesse Rodgers
      • Member of the Special Projects Group at the University of Waterloo
      • Blog: http://whoyoucallingajesse.com
      • Email: [email_address]

    + Jesse RodgersJesse Rodgers, 2 years ago

    custom

    1701 views, 0 favs, 0 embeds more stats

    Presentation at TODCon 08 that takes about AJAX usa more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1701
      • 1701 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 10
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories