javascript loops and arrays | Software for Windows, Apple, mobile…

XHTML DOM®: Objects and Collections; JavaScript Event-Driven Programming; XML® and RSS; XML DOM; Rich Internet Applications; Asynchronous JavaScript and XML (Ajax); XMLHttpRequest; Dojo Toolkit; Consuming Web Services;

Software for Windows, Apple, mobile… –

Promises with dojo – a lightweight alternative to dojo.Deferred

The dojo toolkit has dojo.Deferred, which does a similar job. You create a Deferred, add (multiple) callbacks and error handlers to it, and when it fires off, all your handlers get called. But dojo.Deferred is pretty heavyweight.

Jens Arps –