with Imagination: by Dustin Diaz

./with Imagination

A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz

Introducing DED|Chain JavaScript Library

Tuesday, March 20th, 2007

This started off as a plane ride project, then blew up into something much larger. Today I’m proud to announce a JavaScript library I’m calling DED|Chain the Web Developers JavaScript kit (less cruft, more fun). It sits on top of Yahoo! UI, with a bit of jQuery spice. Also a big thanks to Jack Slocum for providing DOMQuery which is the base of all “chains” in DED|Chain. The goals (among other things) are mentioned on the project page which will hopefully give you a clearer understanding of its conception.

Please keep in mind that this is the very first beta release which contains no documentation plenty of documentation, however being a big stickler for documentation myself, I can guarantee there will be some API docs finding there way to the website in very short time.

Other than that, feel free to send me feedback personally at dustin [<at>] dustindiaz (dot) com. Your thoughts will be much appreciated.

24 Responses to “Introducing DED|Chain JavaScript Library”

  1. Jim A.

    Dustin,

    Looks like you put a lot of hard work into this! Your goals for the project speak to me.

    I am a HUGE fan of Y!UI even though I haven’t had a chance to put it into anything real yet. And I have been interested in learning about jQuery. I am also on the verge of at least one major user interface, with a few smaller ones on the horizon as well.

    I hope to get the time to dig in and mess with this in order to learn it and, in due turn, learn jQuery and get to know Y!UI better.

    Sometimes I wish I had the time on my hands that you are able to dedicate to this stuff!

    Cheers,
    Jim

  2. Norman Gerre

    Looks interesting! I’m a little amused, though, because I’ve been watching Douglas Crockford’s brilliant JavaScript lectures at the YUI theatre page, and one of the things he advises against is prefixing symbol names with dollar-signs or underscores. He’s Yahoo!’s chief JavaScript architect, so presumably he’s at least partly responsible for the design of the $-free YUI API — and here comes a YUI wrapper that uses “_$” as its default namespace and as the first two characters of its first example…

    Still, I can’t wait to take it for a spin.

  3. Mike Papageorge

    Gah, just when I settle on one library, you give me reason to look a 3rd (4th?) time at using YUI. Looks like it could be a lotta fun, thanks Dustin!

  4. Marc Grabanski

    Thanks for the hard work on the library Dustin.

  5. as days pass by » Blog Archive » DED|Chain

    […] Dustin Diaz releases DED|Chain, a JQuery-a-like library based on the Yahoo UI library. Apart from winning this week’s “Most Ridiculous Name For A Software Project” award (previous winners include Ning), it looks pretty cool. Nice work, Dustin. […]

  6. aliotsy

    Fascinating.

    I’m a jQuery guy, but I’ve always wanted to take a look at Y!UI, mostly because you write so much about it. It’s neat to see you’re bringing some of the fun from jQuery to Y!UI.

  7. Dustin Diaz

    For anyone checking out the API webpage (dedchain.dustindiaz.com/api/docs). It’s not there yet. It will show up sometime this week.

    Otherwise, thanks for your kind words so far. I would encourage everyone to check out Stuart Langridge’s feedback which tells you a bit of the good and the bad with very straight forward and honest feedback.

  8. Elliot Swan

    Very cool, looking forward to seeing some API docs on it.

  9. alvin

    Would it be possible to throw up something like a svn? I’m sure there are more code changes to come since this is a 0.1 beta.

    Very much looking forward for this. Good work!

  10. Introducing DED|Chain JavaScript Library « [REF]

    […] Link […]

  11. Johan

    Dustin, would be nice to Tetris moving around with the DED Chain. I think the name is very rock’n roll. It has the Dude factor. Anyway, you were born cool perhaps, that would be no incubators.

  12. Dustin Diaz

    @Elliot: there is some partial documentation as of today, I would encourage you to check it out.

    @alvin: I will consider an svn repository if enough people begin to use it and request it.

    @johan: I’ll leave tetris as it was… no need to rehash that now. I’ve got to finish up some documentation :)

  13. Dean Edwards

    You get the reliability of Yahoo! UI, and the developer friendliess of jQuery.

    You know that sentence kinda makes it seem like jQuery is not reliable. Is that your intention?

  14. Dustin Diaz

    @Dean: You get the reliability of Yahoo! UI simply because it’s built on it. You do not get the reliability of jQuery because it doesn’t use jQuery. If it were built on jQuery, then I would pitch in its reliability statement as well…

    You know, if you twist your statement around even further, you could argue that I said Yahoo! UI is not developer friendly ;) But clearly, neither is the case. Btw, congrats on releasing your library this week too :)

  15. Dustin

    Being born and bred as a php developer, is this the Javascript library for me?

    Thanks

  16. Dustin Diaz

    @Dustin: Yes, yes it is. As a Dustin, you are obligated to use this. Plus, I was primarily bred as a php developer too (which might the probably with the both of us). Check out some of the documentation and read a few forum posts, you’ll get the idea fairly quick.

  17. Jesus A. Domingo

    This begs for a long overdue screencast. No wonder you weren’t posting new stuff anymore about using YUI, because you were busy creating something around it. Thanks for this great lib.

  18. CommaDot.com » Blog Archive » JavaScript renaissance

    […] Then another guy named Dustin Diaz released his library called DED|Chain.  (rolls off the tongue.  Is it pronounced Dead-Chain?) The funny thing is that I just used a Dustin technique to fix min-width in my css.  It was exactly what I needed.  Thanks Dustin! […]

  19. Triple Jeah Electronic Media Services LLC

    […] Dustin Diaz has released his DED|Chain JavaScript Library. I’m excited to give it a try in future projects. It sits on top of YUI and is supposed to have the ease of use of JQuery. I’m also a big fan of Jack Slocum’s work, and this library makes use of his DOMQuery functionality. […]

  20. Ben Long

    Thanks, Dustin. I can’t wait to dive in!

  21. Paul Colton

    Dustin, would you mind contacting me at paul at aptana dot com? I’d like to ask a private question, thanks.

  22. Mark

    Great work Dustin.

  23. Tom

    I just downloaded your library. I’m not a javascript pro, but this thing looks very impressive. Nice work, Dustin! Looking forward to see more of it ;)

  24. Einar

    Hi Dustin,

    Great work on the library. Since I am already using yui across the board, this seems like a perfect fit.
    However, I have a comment regarding how you serve the library.

    You have removed everything related to drag and drop from the yui utilities.js.
    This would be fine for me, but since you also serve the query functionality in the yui utilities.js file, this means I have to replace my already existing yui utilities.js file with the one you serve, and then I also have to include a reference to the standalone drag and drop file.

    Would it not be possible to instead put the query functionality in the ded-chain.js file, and let the developer choose the utilities.js file themselves?

    Not a huge problem since I can simply move things around a little bit, just a thought :-)

Leave a Reply

Phone Number:

If you're about to post code in your comment, please wrap your code with the tag-combo <pre><code>. Also please escape your html entities - otherwise they will be stripped out. I recommend using postable.

Get "JavaScript Design Patterns"

"As a web developer, you'll already know that JavaScript™ is a powerful language, allowing you to add an impressive array of dynamic functionality to otherwise static web sites. But there is more power waiting to be unlocked--JavaScript is capable of full object-oriented capabilities, and by applying OOP principles, best practices, and design patterns to your code, you can make it more powerful, more efficient, and easier to work with alone or as part of a team."

Buy JS Design Patterns from Amazon.com Buy JS Design Patterns from Apress

Flickr

Submit a Prototype

All content copyright © 2003 - 2007 under the Creative Commons License. Wanna know something? Just ask.

About | Archives | Blog Search

[x] close

Loading...

Submit a prototype

By checking this prototype I agree that I am not submitting false credentials, pornography, or a hate crime website. I also understand that by submitting my entry I may or may not be accepted, and if accepted, my entry may be taken down at any given time if I violate these terms.