Filed under JS

Worth a look: DOMAssistant

A couple of months ago Robert Nyman showed me a javascript library he had built, DOMAssistant, and proceeded to use it successfully in one of our projects. I wasn’t amused. How could a tiny homebuilt little hack compete with my favorite, the almighty jQuery?

I whined, and said I really liked the CSS-selector syntax that jQuery has. So he added support for CSS1, CSS2, and CSS3. The bastard.

After a while he started getting doubts about if he really could compete with the big names, being supported by lots of people. But instead of giving up he got himself a team of his own. The famous Roger Johansson being one of them. There went that argument, damnit!

I pointed out the jQuery was very small, only 15 kb! He pointed out that DOMAssistant is half that size, 7 kb. That’s smaller than most images. Aaaargghh!

I said that jQuery is much faster than anything I’ve seen. He showed me the slickspeed test, showing that his framework was indeed faster than all the others. How could he do that? Well, he explained, by using the browser optimized XPath and querySelectorAll support in browsers.

I had one card left to play, a somewhat ugly one. “Animations?” I almost wispered. “No…” came the reply back. But as he saw me straighten my back, getting ready to proclaim victory, he contiuned “… but it’s being worked on, and coming in the next release”. Damn you Robert, it seems I just have to give it a try…

Feel free to leave a comment, or subscribe to my feed.

related

List some related articles:

You might want to browse all articles.

linkback

These people have linked to this article:

  • No linkbacks yet

To get a link in this list: make sure your blogging software supports trackbacks or pingbacks and simply link to this article like this:

<a href="http://friendlybit.com/js/worth-a-look-domassistant/">Worth a look: DOMAssistant</a>

You can also trackback by copying this link, and pasting it into a trackback field in your blogging tool.

about

Author: Emil Stenström

Emil Stenström blogs about web development. Posts are bi-weekly.

To the about section

comments

What do you think about this article? I’d love to hear your view!

Scroll to comment box.

  1. Anders Ytterström 25 Feb

    01

    A true bastard. ^^ Good thing to blog about DOMAssistant. I really should do the same.

  2. Robert Nyman 26 Feb

    02

    Thanks Emil! And yeah, I guess I am a JavaScript bastard. :-)

  3. Palle Zingmark 26 Feb

    03

    Great article and a great library. I’ve sent it to some of my colleagues who is looking for a fast end reliable library.
    Thanks for the post!

If you want to you can follow the disussion through a comment feed.

add comment

This is the place where you get to say your opinion about this article, use it well. Formating with HTML is allowed. A red asterisk means that the following field is required.

Comment Form




Comment Form