close

Вход

Забыли?

вход по аккаунту

?

Prototype vs jQuery

код для вставкиСкачать
Prototype
vs
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
CROSS
COMPATABILITY
MATTERS!
Today
JavaScript Library Market Share
Source: Ajax Experience Conference (The Ajaxian)
JavaScript Library Popularity
Source: Google Trends
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?
Code Demonstration
Old School
Prototype Syntax Sample
jQuery Syntax Sample
Just Say No!
Go!
Prototype:
http://www.prototypejs.org/
jQuery:
http://jquery.com/
Документ
Категория
Без категории
Просмотров
4
Размер файла
862 Кб
Теги
1/--страниц
Пожаловаться на содержимое документа