YUI -> jQuery

I just switched my (rather limited) JavaScript from YUI to jQuery.

jQuery took a little (a couple hours) to learn how to write something close to idiomatic code. My new code is much much smaller and easier to read.

Why did I switch away from YUI you might ask?

A couple reasons:

  1. jQuery has a bunch of idiomatic constructs to make what I’m doing here much easier: Example: $('table tbody tr:even').each(function () {$(this).addClass('alt')});
  2. jQuery is smaller.
  3. I use YUI at work.
  4. I just wanted to try something new.

Ciao!

This entry was posted in My Projects, WebDev and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Rey Bango
    Posted 2008-08-29 at 11:21 pm | Permalink

    Welcome to jQuery. Be sure to join the Google Group and also follow us on Twitter or identi.ca at @jquery

    Rey – jQuery Team

  2. Posted 2008-08-30 at 12:55 am | Permalink

    @Rey Bango:

    So, how about some URLs? :-) I found the twitter jquery, I think.

    Ciao!

  3. Rey Bango
    Posted 2008-08-30 at 10:17 am | Permalink

    Sure thing:

    jQuery:
    http://jquery.com

    jQuery UI:
    http://ui.jquery.com

    jQuery Docs:
    http://docs.jquery.com

    jQuery Google Group:
    http://groups.google.com/group/jquery-en

    jQuery UI Google Group:
    http://groups.google.com/group/jquery-ui

    books:
    jQuery In Action: http://is.gd/245t

    Learning jQuery: http://is.gd/245s

  4. Posted 2008-08-30 at 7:06 pm | Permalink

    @Rey Bango:

    Thank you!

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting