skip to main
|
skip to sidebar
gridit
A blog of comparisons, decisions, alternatives and criteria
17 October 2007
Which javascript framework?
Which javascript framework?
Comparison of different javascript frameworks
Tags:
Javascript
web development
frameworks
AJAX
Criteria:
Clean global namespace
not polluted with all kinds of function names
Speed
Effects
nice, easy to use effects
Capability of DOM manipulations
CSS selectors
window.onLoad mechanism
Not modify the base language
Terse
no wordy frameworks as a matter of style & taste
Ease of maintenance
The time and hassles; monetary cost tracked under 'Costs'
Works well with Safari
Alternatives:
jQuery
Intuitive, easy to use, fast, great DOM manipulation, good effects. Great window.onLoad handler. Give it an A- grade.
ExtJs
Intuitive, very very extensive, great DOM manipulation, solid effects. The fastest to get things done when puzzling out on the commandline. Give it an A.
Mochikit
Very terse, much more “functional” in approach rather than class-oriented. Not good about polluting the global namespace. Yes, this is runtime-optional, but the alternative is very wordy. The functional approach (i.e. map(set, func) rather than $(selector).each(func)) is a bit off-putting actually. It makes it much harder to know what functions are appropriate to use with what objects. Give it a score of B+ due to my highly subjective sense of style.
Dojo
Too wordy. I dislike their framework for building widgets. I love their inclusion mechanism, but dislike that the reason for it is that Dojo is so huge. Give it a C.
Protype
Modifies base language
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2008
(3)
►
March
(1)
►
February
(2)
▼
2007
(6)
▼
October
(6)
Which javascript framework?
raB ooF?
Which House?
Which job?
Which house?
First post
About Me
jbr
View my complete profile
No comments:
Post a Comment