Blog


Eulogy to _why

Unfortunately I’m short on time at the moment (trying to launch a project this week) but I have to say, at least, a few words about the hacker and artist _why. At this moment, _why’s online presence appears to be no more. All of his sites and code are gone. This includes, and is not […]

Comment · Posted: August 19th, 2009


Computing with JavaScript Web Workers

Web Workers are, undoubtedly, the coolest new feature to arrive in the latest version of web browsers. Web Workers allow you to run JavaScript in parallel on a web page, without blocking the user interface. Normally in order to achieve any sort of computation using JavaScript you would need to break your jobs up into […]

Comment · Posted: July 21st, 2009


Easy Retweet Button

Ever since I saw the Bit.ly JavaScript API I’ve been wanting to build a simple script for tracking the number of people visiting a blog post from Twitter. This past weekend I built a little script for doing just that – and in a completely unobtrusive manner. The script itself is completely standalone (no dependencies) […]

Comment · Posted: July 9th, 2009


HTML 5 Parsing

One of the biggest wins of the HTML 5 recommendation is a detailed specification outlining how parsing of HTML documents should work. For too many years browsers have simply tried to guess and copy what others were doing in hopes that their parser would work well enough to not cause too many problems with HTML […]

Comment · Posted: July 7th, 2009


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 […]

Comment · Posted: July 2nd, 2009


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 […]

Comment · Posted: June 30th, 2009


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 […]

Comment · Posted: June 19th, 2009


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 […]

Comment · Posted: May 21st, 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.