JavaScript

TwitterFacebook
Get flash to fully experience Pearltrees
http://odetocode.com/blogs/scott/archive/2007/07/05/function-apply-and-function-call-in-javascript.aspx In order to explain how the createDelegate function works in the last post , we have to understand JavaScript closures and Function.apply (). The apply() method is the easiest subject to tackle, so we'll start there and work up. Every function in JavaScript has a number of attached methods, including toString() , call() , and apply() . If it sounds odd to you that a function might have its own methods - then remember that every function in JavaScript is an object. Read this article for a refresher.

Function.apply and Function.call in JavaScript

How to measure the speed of JavaScript execution

http://answers.oreilly.com/topic/643-how-to-measure-the-speed-of-javascript-execution/ If you're curious about the time it takes for your page to load and were wondering if there was something that could tell you what's going on besides human observation, then this excerpt from Even Faster Web Sites will get you pointed in the right direction. The easiest, most straightforward, and probably least precise way to measure latency is via human observation; simply use the application on your target platforms and ensure that performance is adequate. Since ensuring adequate human interface performance is only about pleasing humans, this is actually a fine way to perform such measurements (obviously, few humans will be able to quantify delays reliably in terms of precise whole or fractional second measurements; falling back to coarser categorizations such as “snappy,” “sluggish,” “adequate,” and so on does the job).
NodeJS

A lightweight customizable lightbox plugin for jQuery Fork me on GitHub View Demos

ColorBox, A jQuery Lightbox

http://jacklmoore.com/colorbox/
Minifier

Sizing and Positioning Fancybox | GiveGoodWeb

http://www.givegoodweb.com/post/125/sizing-and-positioning-fancybox You've probably seen Fancybox all over the place. In a way, it's the living-successor of ThickBox and Lightbox. I was recently on a project where I had to both size and place it. Sizing it is easy. Say you have a link tag with an id of opener, like this:
http://alistapart.com/article/advanced-debugging-with-javascript

Advanced Debugging With JavaScript

When used effectively, JavaScript debuggers help find and squash errors in your JavaScript code. To become an advanced JavaScript debugger, you’ll need to know about the debuggers available to you, the typical JavaScript debugging workflow, and code requirements for effective debugging. In this article, we’ll discuss advanced debugging techniques for diagnosing and treating bugs using a sample web application.
GoogleMap

Strategy for finding leaks When trying to make a particular testcase not leak, I recommend focusing first on the largest object graphs (since these entrain many smaller objects), then on smaller reference-counted object graphs, and then on any remaining individual objects or small object graphs that don't entrain other objects. Because (1) large graphs of leaked objects tend to include some objects pointed to by global variables that confuse GC-based leak detectors, which can make leaks look smaller (as in bug 99180 ) or hide them completely and (2) large graphs of leaked objects tend to hide smaller ones, it's much better to go after the large graphs of leaks first. A good general pattern for finding and fixing leaks is to start with a task that you want not to leak (for example, reading email).

Performance:Leak Tools

https://wiki.mozilla.org/Performance:Leak_Tools
2010 update: Lo, the Web Performance Advent Calendar hath moved Dec 20 This article is part of the 2009 performance advent calendar experiment. Today's article is a second contribution from Ara Pehlivanian (here's the first ). http://www.phpied.com/extreme-javascript-optimization/

Extreme JavaScript optimization

JSON