Irene Yiu

The Case for Object-Oriented JavaScript

JavaScript is a flexible and powerful programming language that drives most modern-day web sites and applications. The jQuery library, in particular, has a simple API for traversing and manipulating the DOM. Just choose a your selector, add an event handler, and voilà! Instant UI magic. The ease of jQuery, though, comes with a price. Without […]

August 12, 2014

Matt Baker

jQuery.Deferred is the most important client-side tool you have

jQuery’s introduction of $.Deferred() is one of the library’s most powerful additions in recent history. It’s not a new idea, but it merits an introduction now that it’s available to thousands of client-side developers. At its core, the Deferred pattern is a simple but powerful tool for the management of asynchronous processes. As we all […]

December 04, 2012

Matt Baker

Arrhythmia.js, a new take on rhythm validation

…just as regular use of time provides rhythm in music, so regular use of space provides rhythm in typography, and without rhythm the listener, or the reader, becomes disorientated and lost. —Richard Rutter, Compose to a Vertical Rhythm Arrhythmia.js is a tool for validating the vertical rhythm of your page. Its goal is to do […]

November 22, 2010

Matt Baker

jQuery the Right Way

jQuery has changed the way we write Javascript by abstracting out much of the painful cross-browser implementation details that used to plague developers, but to use it correctly still requires a little knowledge about what’s going on under the hood. In this post we’ll take a good look at jQuery’s selectors and how to use […]

October 20, 2010