Here:
http://github.com/cederberg/mochikit-patches/tree/master
Press the "download" link to get a file with everything in it. There
are a few examples that you can run locally. I know it would be better
with a demo site and all, but... :-)
Cheers,
/Per
Thanks, will have a look into it.
Regards,
If you'd like to contribute new widgets, I'd love to include them!
Just fork the git repo and send me a pull request when done.
Regarding other widget solutions, my personal motivations for
implementing yet-another-JavaScript-widget-library are:
1. Using a mix-in approach instead of wrapper objects, the code
becomes more light-weight.
2. Creating a UI from XML instead of code makes for easier maintenance.
3. With a nice default look and simple API:s, the widgets become easy to use.
4. Unlimited open source license to avoid legal and commercial hassles.
All of the above can be argued back and forth, of course. I see #1
above as the main point with this effort, since both the others could
equally well be patched into some other widget library. And I see no
point in doing something that isn't sufficiently different from other
efforts in this area. I know lots of you just want to avoid using
another JS library for your widgets, but is that really such a big
problem? In fact, YUI is pretty configurable in that way if I recall
correctly.
Which kind of resonates with my reasons for staying with MochiKit in
spite of the jQuery popularity surge (and actually using it a bit at
work from time to time). That it does things differently from other JS
libraries. For good or bad.
Anyway. These are just my ramblings on the JS widget topic. Feel free
to disagree.
Cheers,
/Per