« Morfik 07, Introduction to Morfik Architecture (Part Two) | Main | iSalient, AJAX-Based Hosted Survey Solution »

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.
diaz-dedchain.gif

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 ?

Bookmark this article at these sites
Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):