JavaScript Libraries
Javascript Library requirements
- base for client-side restletport
- cross-browser issues:
- syntax
- DOM model
- event model
- dynamic loading of js-files
- event binding
- unit testing
- (widgets, effects)
- size, stability, maturity
- compression
The contestants
|
|
Latest (non-beta) release |
Size |
the good |
the bad |
|---|---|---|---|---|
| Dojo |
1.0.2 (12/15/07) |
50kb+ |
|
|
| Prototype |
1.6.0.2 (01/25/08) |
~120kb |
|
|
|
1.2.2 (01/14/08) |
~26kb |
|
|
|
| Ext JS |
2.0.1 (01/23/08) |
7kb+ |
|
|
| Yahoo UI Library
|
2.4.1 (12/19/07) |
29kb+ |
|
|
| MooTools |
1.1 (05/07/07) |
9kb+ |
|
|
| qooxdoo |
0.7.3 (01/14/08) |
|
|
|
| Rico |
2.0rc (01/29/08) |
|
|
Disqualified:
- MochiKit: seems to be deserted


But for this: "We need a library to provide common, reusable functionality and save us from writing lots of repetitive code..." GWT is really not a contender.
It would be a good fit if your goals were to avoid maintaining any code in dynamically typed languages, or to be able to audit antipatterns with FindBugs, etc, or to leverage existing libraries written in Java that do interesting computations -- and you intend to do the whole thing, or at least large functional chunks, in GWT.