30 - Chris Coyier

Posted on

We talk to Chris Coyier about jQuery, css-tricks.com and Wufoo .

Host: Ralph Whitbeck & Rey Bango.

Interview

In our 30th episode, we talk with Chris Coyier of CSS-Tricks. Chris also works for Wufoo, an online form builder service. Chris talks about his inspiration for writing for CSS-Tricks and we look at his jQuery snippets, freebies and screen casts. We learn what Wufoo is and talk about the new API for Wufoo. Chris shows us the new Wufoo jQuery API Wrapper and we talk about the choice of putting the plugin on the jQuery namespace verses making it its own global object. Finally, we talk about how designers and developers responsibilities are becoming more blurred as it evolves and changes.

Links from this show

Plugin of the week

jQuery.Validity (archived)

Very light weight Validation plugin for simple forms with simple validation rules. Here’s an example of the jQuery needed to make a couple of fields required and match a specific format.

$("form").validity(function() {
    $("#vehicles")                      // The first input:
        .require()                          // Required:
        .match("number")                    // In the format of a number:
        .range(4, 12);                      // Between 4 and 12 (inclusively):

    $("#dob")                           // The second input:
        .require()                          // Required:
        .match("date")                      // In the format of a date:
        .lessThanOrEqualTo(new Date());     // In the past (less than or equal to today):
});

We still feel that Jörn Zafferer’s Validation plugin is the best as it will provide the most robust and customizable solution to your needs but felt that this light weight plugin would work well in smaller forms.

Tutorial of the week

Enterprise jQuery (archived)

A site, from appendTo, geared to help corporations that are just now adapting jQuery. It helps them learn how to use jQuery with best practices in mind so that their code is easy to maintain in a team environment. We mention a few articles from the site:

← Previous
29 - Rey Bomb 3
Next →
31 - Filament Group