Blog


Selectors that People Actually Use

This post has been a long time coming. It’s a combination of my distrust for JavaScript CSS selector performance analysis and my disdain for the CSS 3 Selector specification. To start, I want to give a little bit of history regarding jQuery’s selector engine. When I first started working on its implementation it was mid-2005. […]

Comment · Posted: February 12th, 2008


XPath Overnight

A fascinating thing has happened in the world of JavaScript DOM traversal: Over the course of a couple months in 2007 three of the major JavaScript libraries (Prototype, Dojo, and Mootools) all switched their CSS selector engines to using the browser’s native XPath functionality, rather than doing traditional DOM traversal. What’s interesting about this is […]

Comment · Posted: February 10th, 2008


Cross-Window Messaging

Another new feature from the HTML 5 specification, that just landed for Firefox 3, is the cross-origin postMessage API. This particular API adds a new method to every window (including the current window, popups, iframes, and frames) that allows you to send textual messages from your current window to any other – regardless of any […]

Comment · Posted: February 10th, 2008


Tracing JavaScript

Chris Double, Mozilla contributor and excellent programmer, posted a great overview of what the new JavaScript/ActionScript runtime is going to be like in upcoming versions of Mozilla Firefox and Adobe Flash Player. Specifically, how the new tracing portions of the compiler work. I got permission from him to re-post it here – enjoy! I attended […]

Comment · Posted: February 7th, 2008


The Performance Paradox

Just because a test is good at measuring performance for one metric, doesn’t mean that it’s good for all metrics. The other day I posted about some JavaScript Library Loading Speed Tests that were done by the PBWiki team. I made some conclusions about JavaScript Library Loading speed that, I think, were pretty interesting – […]

Comment · Posted: February 7th, 2008


JavaScript Library Loading Speed

There was an interesting piece of JavaScript performance analysis done recently, by the PBWiki team. They wanted to understand a few things about how quickly JavaScript libraries loaded (obviously, their loading speed grossly effecting the total loading speed of a page). They set up a system to gather input from random browsers, aggregating the results […]

Comment · Posted: February 5th, 2008


Workin’ Hard

Paul Bakaus (jQuery UI Lead) and I working on the next release of jQuery UI (1.5) and jQuery Core (1.2.3). It’s a rare treat, in distributed Open Source development, to be able to work face-to-face with a fellow developer. Paul is located in Germany, I in Boston – and much of the jQuery team is […]

Comment · Posted: February 3rd, 2008


@Twitter

I’m not sure why, but I’ve become hooked on Twitter. I find it to be interesting because I don’t get hooked on new social network-like sites very easily, but I’m stuck in here pretty good. Here’s some random thoughts that I’ve pulled together concerning my use of the site: I really enjoy the 140 character […]

Comment · Posted: February 2nd, 2008


Next entries » · « Previous entries

Secrets of the JavaScript Ninja

Secrets of the JS Ninja

Secret techniques of top JavaScript programmers. Published by Manning.

John Resig Twitter Updates

@jeresig / Mastodon

Infrequent, short, updates and links.