Activate your free membership today | Log-in

Tuesday, March 27th, 2007

DED|Chain: Dustin Diaz comes up with a new Ajax library

Category: Announcements, JavaScript, Library

<>p>We get several emails a day from people letting us know about a new XHR wrapper. Recently we have been hearing about new libraries from leaders in the community such as Dean Edwards and now Dustin Diaz. Here is what Dustin has to say about DED|Chain, his new framework that builds on YUI:

DED|Chain is free open source software (BSD License) that will allow you to build first class, high-quality websites without the cruft. You get the reliability of Yahoo! UI, and the developer friendliess of jQuery. You also receive the benefits of an easily customizable A.P.I. which puts you in control of how you will work with the library.

The old demo de jour was an RSS reader, and now it may be a Twitter client ;)

JAVASCRIPT:
  1.  
  2. // throttle an array
  3. $().throttle(2, ['dustin', 'vince', 'robert'], {
  4.     id: 'huzzah',
  5.     callback: function(needle) {
  6.         console.log(needle);
  7.     },
  8.     loop: true
  9. });
  10.  
  11. // throttle an object
  12. $().throttle(5, { name:'Dustin', sex:'Male', age: 26 }, {
  13.     id: 'blam',
  14.     callback: function(needle) {
  15.         console.log(needle);
  16.     },
  17.     onComplete: function() {
  18.         this.request(
  19.     },
  20.     loop: true
  21. });
  22.  
  23. // stop a throttle by name
  24. $().stopThrottle('blam');
  25.  

Check it out!

Related Content:

  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
  • Ajax Learning Guide
    Chances are, you've been doing JavaScript and XML developer work in Lotus Domino for quite some time. This old/new approach is causing quite a stir in...
  • Hot Skills: Ajax - fast route to Web 2.0-style applications
    Ajax builds on common web skills to enable developers to create Web 2.0-style applications quickly and without back-end infrastructure...
  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...

Posted by Dion Almaer at 6:46 am
3 Comments

+++--
3 rating from 23 votes

3 Comments »

Comments feed TrackBack URI

Good God. Just what we need. Another Javascript library. =8^O

Although, DED|Chain looks nice and capable. But there’s already ExtJS+YUI, so… why, again?

Comment by Giggle Platypus — March 27, 2007

I’ve always wanted to use YUI but never had the time to fully explore the API and docs. I have been investigating ExtJS which, as far as I can tell, had no competitors until now. Great! More work for me. :P

Where are the inevitable ExtJS vs DED|Chain comparisons?!?!

Comment by Giggle Platypus — March 27, 2007

ExtJS and DED|Chain aren’t really competitors. From what I can tell, ExtJS is a cool interface library for YUI (and jQuery, etc), and DED|Chain just makes YUI more pleasurable to use in general.

Comment by Steve O — March 27, 2007

Leave a comment

You must be logged in to post a comment.