Ajax Bestiary: A Javascript Field Guide
 
Ajax Bestiary: A Javascript Field Guide
 
 

Robert Nyman’s DomAssistant 2.5 A Lightweight JS Library Powerful Enough To Take On The Big Boys.

Posted by Don Albrecht

Robert Nyman has announced the release of version 2.5 of his Dom Assistant framework. A light in size (6 kb gziped) but fully featured tool for streamlining Javascript development. He states in his announcement that:

“With this release of DOMAssistant, I feel that it can seriously compete with the major JavaScript libraries on the market.”

Although Mochikit, Prototype, Mootools, jQuery, YUI, Spry et. al. seem to indicate that the market for Open Source JS frameworks is a bit saturated. I’ve found that different projects frequently call for a different toolkit. Sometimes, the rich widgets & CDN’s of frameworks like YUI & Dojo make all the difference in delivery & performance. Sometimes the Dreamweaver & Coldfusion integration of Spry makes it a no brainer. Sometimes you need Mootool’s Flash, jQuery’s progressive enhancement or Prototype’s Ruby on Rails integration & extensibility. Dom Assistant is definitely another toolkit that fits into this ecosystem.

Dom Assitant’s Strengths:

Small Size:

At only 21KB compressed for the entire library, it’s small enough for just about any bandwidth constraint.

Legible Code:

Unlike frameworks that make extensive use of $, $$ or chaining. Dom Assistant based code is highly legible and approachable. Even for someone new to JS development. It does use the $ operator for selector support, but doesn’t encourage the development of long chains.

Rich Features:

Dom Assistant is fully featured toolkit for Ajax, Dom, CSS & Event manipulation.

Great Performance:

Dom Assistant is engineered to avoid memory leaks and run fast.

Drawbacks:

Dom Assistant currently lacks any widget or animation support.

You can find Dom Assistant here:

http://www.robertnyman.com/domassistant/

Read More About Dom Assistant here:

Robert Nyman Blog Post

Related Posts

  • No Related Post

4 Comments

  • In the first sentence you say it’s 6kb, but in the first “bullet point” you quote that it’s 21kb compressed. I’m not familiar with how the library is structured, but perhaps that’s the basis for the discrepancy? Could you elaborate please?

    Thanks,
    Nate

    (Full disclosure: I’m an engineer on Yahoo!’s YUI team. But I’m asking out of personal curiosity.)

  • Thanks for catching that,

    The 21kb is the compressed, unzippped version.

    6 kb is the size delivered gzipped.

  • I’ve updated the post to reflect the difference between library size & download size.

    Nate, Thank you again for catching that.

  • Ahh, that makes sense - I should have thought of that. Thanks for the followup!

Leave a Reply