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

Prototype

Embed Size (px)

DESCRIPTION

vs. Prototype. jQuery. Battle for the Better JavaScript Library in a Web 2.0 World. Robert LinWHIM 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. - PowerPoint PPT Presentation

Citation preview

Page 1: Prototype

Prototype

Battle for the Better JavaScript Libraryin a Web 2.0 World

Robert Lin WHIM Spring 2008

jQueryvs

Page 2: Prototype

Pre-2004

Page 3: Prototype

Browser Market Share

Source: Wikipedia

Which Browser Reigns King?(2002)

Page 4: Prototype

Browser Market Share

Source: W3Counters

Which Browser Reigns King?(Today- 2008)

Page 5: Prototype

CROSSCOMPATABILITY

MATTERS!

Page 6: Prototype

Today

Page 7: Prototype

JavaScript Library Market Share

Source: Ajax Experience Conference (The Ajaxian)

Page 8: Prototype

JavaScript Library Popularity

Source: Google Trends

Page 9: Prototype

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?

Page 10: Prototype

Code Demonstration

Page 11: Prototype

Old School

Page 12: Prototype

Prototype Syntax Sample

Page 13: Prototype

jQuery Syntax Sample

Page 14: Prototype

Just Say No!

DON’T DO IT

!!!

Page 15: Prototype

Go!

Prototype:http://www.prototypejs.org/

jQuery:http://jquery.com/