7Mar/060
The Dojo event system
I’ve been working on a JS library, one of the things I need to do is fire an event when a method of a Javascript object is changed. Initially, I based my library on the Prototype JS library. It seemed to provide a nice base to build on. But the event system is very DOM oriented (or it could be that I haven’t read deep enough into the Prototype code). So I can link up an event handler for my elements, but not for my POJOs (Plain Old Javascript Objects). I may have to move my base from Prototype to Dojo. The library I’m working on is still pretty portable. Most of the things I’ve been leaning on Prototype for Dojo also provides (array extensions, grabbing DOM elements easily, etc…).


