1 / 15

Prototype

vs. Prototype. jQuery. Battle for the Better JavaScript Library in a Web 2.0 World. Robert Lin WHIM Spring 2008. Pre-2004. Browser Market Share. Which Browser Reigns King? (2002). Source: Wikipedia. Browser Market Share. Which Browser Reigns King? (Today- 2008). Source: W3Counters.

Download Presentation

Prototype

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. vs Prototype jQuery Battle for the Better JavaScript Library in a Web 2.0 World Robert Lin WHIM Spring 2008

  2. Pre-2004

  3. Browser Market Share Which Browser Reigns King? (2002) Source: Wikipedia

  4. Browser Market Share Which Browser Reigns King? (Today- 2008) Source: W3Counters

  5. CROSSCOMPATABILITYMATTERS!

  6. Today

  7. JavaScript Library Market Share Source: Ajax Experience Conference (The Ajaxian)

  8. JavaScript Library Popularity Source: Google Trends

  9. Why are Libraries Important? • Cross-browser compatibility • Easy-to-use transition animations and effects • Moves web to a more direct manipulation model of user interaction • Chaining makes complex functionality readable • Robust AJAX handling • Standardized API for outside developers • Overall, streamlined access to the DOM • Confused about DOM?

  10. Code Demonstration

  11. Old School

  12. Prototype Syntax Sample

  13. jQuery Syntax Sample

  14. Just Say No! DON’T DO IT!!! Pure DOM = Epic Fail!

  15. Go! Prototype: http://www.prototypejs.org/ jQuery: http://jquery.com/

More Related