Sunday, August 31, 2008

Sticky Notes example rewritten

The initial version of the sticky notes example was pretty much an exact copy of the non-Joose version, which sucked, because the code was really hard to understand and didn't work too well outside of the Safari Browser.
I rewrote it using jQuery and on the way implemented a generic databinding system to attach Joose objects to jQuery objects and vice-versa. The new code is way shorter and should pretty much speak for itself (understanding what really happens is a totally different matter).
If you are interested in the jQuery databinding, take a look at the code, but beware that it dwelves deep into the meta magic of Joose and isn't ment for the lighthearted or people who like extensive documentation :)
Post a Comment