Protowidget: Widget system on top of Prototype

Terry Laurenzo has created Protowidget, as he liked "the simplicity of Prototype, the widgets/templates from Dojo and the event-based property binding support from OpenLaszlo/Flex". Widgets As the name implies, Protowidget is based on widgets. While some widgets are provided (and more will come in the future), Protowidget's primary focus is on providing a rich environment […]

Terry Laurenzo has created Protowidget, as he liked "the simplicity of Prototype, the widgets/templates from Dojo and the event-based property binding support from OpenLaszlo/Flex".

Widgets

As the name implies, Protowidget is based on widgets. While some widgets are provided (and more will come in the future), Protowidget's primary focus is on providing a rich environment for constructing complicated widgets.

A widget is always bound to an HTML element. This will typically be a div, but can really be anything (depending on the widget). We take the Dojo approach of leveraging custom attributes in order to do all of the wiring. This has the advantage of letting us bypass the ID-madness when it comes to hooking widgets to DOM elements. |