Mozilla


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


Selectors API Test Suite in IE 8

Last year I did some work on implementing a Selectors API Test Suite, which I’ve just updated to run in IE 8. I’ve uploaded a copy of the suite here: https://johnresig.com/apps/selectortest/ You can get the source here: http://github.com/jeresig/selectortest/tree/master For right now I’m getting the following result: WebKit Nightly 99.3% (16 failing – doesn’t support complex […]

Comment · Posted: February 12th, 2009


Talk: Performance Improvements in Browsers

I gave a talk last week at Google (at the request of the excellent Steve Souders) all about the performance improvements, and new APIs, that are coming in browsers. I cover the new browsers, their JavaScript engines, their JavaScript performance, and then do a whirlwind tour of their new DOM methods and some of their […]

Comment · Posted: February 5th, 2009


Talk: The DOM is a Mess

I gave a talk last week at Yahoo (at the request of the YUI team) all about the DOM. I outlined some of the reasons why the current situation is such a mess, outline some strategies for working around it, and then give some examples of real world code that’s being implemented in libraries today. […]

Comment · Posted: February 2nd, 2009


OCR and Neural Nets in JavaScript

A pretty amazing piece of JavaScript dropped yesterday and it’s going to take a little bit to digest it all. It’s a GreaseMonkey script, written by ‘Shaun Friedle‘, that automatically solves captchas provided by the site Megaupload. There’s a demo online if you wish to give it a spin. Now, the captchas provided by the […]

Comment · Posted: January 23rd, 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.