Widget system

Widget system


After some readings on the "A Modest Proposal: jQuery Enterprise"
discussion at http://groups.google.com/group/jquery-dev/browse_frm/thread/1ec4dca6e02616d6#,
it is clear that jQuery needs an own widget system that will expose an
standard way to write widgets/plugins. This need is more evident on
larger projects. JQuery UI implements an own.
Some ideas:
jQuery UI: http://jquery-ui.googlecode.com/svn/trunk/ui/ui.core.js
John: http://dev.jquery.com/~john/plugins/widget/widget.js
my try with inheritance: http://bender.fesb.hr/~robert/jquery.plugin.js
Thoughts?