Blog


ECMAScript 5 Objects and Properties

ECMAScript 5 is on its way. Rising from the ashes of ECMAScript 4, which got scaled way back and became ECMAScript 3.1, which was then re-named ECMAScript 5 (more details)- comes a new layer of functionality built on top of our lovable ECMAScript 3. Update: I’ve posted more details on ECMAScript 5 Strict Mode, JSON, […]

Comment · Posted: May 21st, 2009


How do Mobile Browsers Behave?

One of my favorite sources of active mining is that of Peter-Paul Koch digging in to mobile browsers and how they behave. Sponsored by Vodaphone to do a study of various mobile devices and their respective browsers, PPK has been doing some serious analysis of what the landscape looks like. Armed with a battery of […]

Comment · Posted: May 19th, 2009


New Processing.js and Sizzle.js Sites

Thanks to some generous contributions, there now exist well-designed web sites for two projects of mine: Processing.js and Sizzle.js. Design and logo by Alistair MacDonald (on Twitter) Processing.js was released almost a year ago (May 8th of last year) and it finally has an official web site. At this point the project is being primarily […]

Comment · Posted: April 25th, 2009


Determining Browser Market Share

A common question that I hear from developers is “What is the market share of Firefox?” (or, more recently, “What is the market share of Firefox 2?”). There are a couple answers but generally you shouldn’t care about the results. How do you determine the global market share of a browser? It’s hard to give […]

Comment · Posted: March 29th, 2009


More Secrets of JavaScript Libraries

This past weekend I had the pleasure of attending and presenting at the annual SXSW conference, down in Austin, TX. I participated in a panel discussion called ‘More Secrets of JavaScript Libraries’ (a follow-up panel to last year’s talk). The synopsis was as follows: In a reprise from last year’s popular panel – the JavaScript […]

Comment · Posted: March 20th, 2009


JavaScript Testing Does Not Scale

(This is a follow-up on my portion of the More Secrets of JavaScript Libraries panel at SXSW.) It’s become increasingly obvious to me that cross-browser JavaScript development and testing, as we know it, does not scale. jQuery’s Test Suites Take the case of the jQuery core testing environment. Our default test suite is an XHTML […]

Comment · Posted: March 20th, 2009


JavaScript Function Call Profiling

With jQuery 1.3.2 out the door I’ve been looking for more ways to profile and optimize jQuery. Previously I did a survey of jQuery-using sites to figure out which selectors they were using. This led to the construction of the new Sizzle Selector Engine which targeted those selectors for improvement. Additionally, I constructed a deep […]

Comment · Posted: February 23rd, 2009


The Browser Operating System

A very interesting paper was just published by Microsoft Research that details a browser construction that acts more like an operating system, partitioning off resources only to those who need it. Although our architecture may seem to be a straightforward application of multi-principal OS construction to the browser setting, it exposes intricate problems that didn’t […]

Comment · Posted: February 22nd, 2009


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.