~/talk

CommonJS, I Promise

Talkat JSConf.eu 2010 · 2010-09-25..09-26· [javascript, nodejs]
slides:none on file

Notes what CommonJS actually delivered: modules implemented by Node become the widest deployment, a buffer/binary spec inspired by Node codifies real-world buffers, and a concrete promise API — Q deferred/q.when — gets examples that compose timeouts, HTTP retry loops and reduce-based joins. Packages remain experimental with three major packaging approaches (overlay, npm symlink, registry/linking) and a stopgap Packages 1.0 for metadata. Several implementations exist (Node, Narwhal, browser) and the promise and queue utilities demonstrably work across them.

AI-written summary · about

  1. 0:00Start
  2. 0:52Module Spec
  3. 4:16What Makes a Good a Good Specification
  4. 5:10Packages
  5. 7:40Overlay Approach
  6. 23:08Error Recovery
  7. 25:42How the Reduce Function Works
  8. 33:51Burning Promises
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.