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

64 Comments · Posted: August 19th, 2009 · Tags: programming


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

46 Comments · Posted: July 21st, 2009 · Tags: workers, javascript


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

44 Comments · Posted: July 9th, 2009 · Tags: javascript, twitter


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

13 Comments · Posted: July 7th, 2009 · Tags: mozilla, firefox, html5


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

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

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

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

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


Next entries » · « Previous entries

JavaScript Books

Secrets of the JavaScript Ninja

JavaScript Secrets

Secret techniques of top JavaScript programmers.

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