Blog


Which Unit Testing Framework?

I'm in the process of working on, and improving, test suite support in TestSwarm (an upcoming project of mine). However, there isn't a lot of information on which unit testing frameworks developers actually use to test their code (whereas there is more information on which JavaScript libraries are used).

It will be of great help to [...]

27 Comments · Posted: July 2nd, 2009 · Tags: testing, javascript


JSConf Talk: Games, Performance, TestSwarm

The video from my talk at JSConf has been posted. Thanks to Chris for organizing the conference and the excellent quality of the video.

The description from the JSConf site summarizes the talk well:

John Resig presents his mystery topic, which is actually three topics that strike his interest. First up is measuring performance and a quick [...]

3 Comments · Posted: June 30th, 2009 · Tags: javascript, presentation, conferences


Unimpressed by NodeIterator

I just posted a run down of some of the new DOM Traversal APIs in Firefox 3.5. The first half of the post is mostly a recap of my old Element Traversal API post.

The second half of the post is all about the new NodeIterator API that was just implemented. For those that are familiar [...]

55 Comments · Posted: June 19th, 2009 · Tags: dom, javascript, w3c


ECMAScript 5 Strict Mode, JSON, and More

Previously I analyzed ECMAScript 5's Object and Property system. This is a huge new aspect of the language and deserved its special consideration.

There are a number of other new features and APIs that need attention, as well. The largest of which are Strict Mode and native JSON support.

Strict Mode

Strict Mode is a new feature in [...]

65 Comments · Posted: May 21st, 2009 · Tags: ecmascript, javascript


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, and [...]

39 Comments · Posted: May 21st, 2009 · Tags: javascript, ecmascript


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 tests [...]

8 Comments · Posted: May 19th, 2009 · Tags: browsers, css, javascript, mobile


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 maintained by [...]

23 Comments · Posted: April 25th, 2009 · Tags: javascript, sizzle, processing


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 a proper [...]

27 Comments · Posted: March 29th, 2009 · Tags: browsers


· « Previous entries

JavaScript Books

Secrets of the JavaScript Ninja

JavaScript Secrets

Secret techniques of top JavaScript programmers. Coming Fall 2009.

Pro JavaScript Techniques

Pro JavaScript

The best techniques for professional JavaScript. Published by Apress.

Micro Updates

John Resig Twitter Updates

@jeresig

Infrequent, short, updates and links.

JavaScript Jobs



Hosting provided by: Ruby Hosting by Engine Yard