DED|Chain JavaScript Library, YUI ala jQuery
YUI blog have a very interesting post on Dustin Diaz and his JavaScript Library DED|Chain. A new JavaScript library which sits on top of YUI and allows you to use a jQuery like syntax.
With D|C, I wanted to take the jQuery style and philosophy a step further, but build on top of Yahoo! UI. There are of subtle differences in some syntax choices; for instance, every callback in D|C is executed in the scope of the DED bolt (yes, I’m calling them DED bolts). A DED bolt is the outer-most selector from which each chain is derived.
For example you can write in jQuery :
In DED|Chain, it would look like this:
DED|Chain have a customizable API and could be easily extended with plugins. Pretty neat to get YUI with jQuery like syntax, what do you think ?











AJAX Magazine's RSS
