Prototype 1.7
prototypejs.org
prototypejs.org
Nowadays I'd definitely consider something on top of jQuery instead, such as backbone.js (http://documentcloud.github.com/backbone), eyeballs.js (https://github.com/paulca/eyeballs.js) or sammy.js( http://code.quirkey.com/sammy).
These 3 tools have me loving js development to the same degree when I first started using prototype (before the project stagnated and died).
You can try out the editor at http://substance.quasipartikel.at:3003/# by clicking on the document's title (at the sheet) to activate the doc annotation pane.
I used to use the jQueryUI widget factory for that task, but Backbone.View feels way more natural. Esp. declarative events and the fact, that Backbone encourages you keep an internal state, and re-render on demand instead of tying data to the DOM.
Regarding UI components in general... imo, it would be better to have a number of widgets (each one targeting a specific use-case) instead of having one widget that takes 100 options handling a number of use-cases. This option-madness is what drives me crazy sometimes...
Same is true for visualizations. developers should keep the codebase small, reusable and should not try to solve 100 use-cases at once — at least this was my conclusion.
As we agreed in the channel, it makes sense to break UIs up in to small functional pieces, each being a view in their own right.
Thoughts?
-- Michael
This seems to be like Firefox v/s Webkit. Prototype 2.0 is going to fix a lot of things (by not extending the DOM), but that approach is in many ways closer to jQuery.
Seeing CoffeeScript is the first time I've felt I can write a full app in Javascript. You and your team have produced something truly significant.
The next bugfix version (1.7.0.1) will feature a rewrite of the DOM code to be easier to read and faster at the same time.
That sounds like a lot of impact for a bugfix release.