News for hackers. Stuff that matters.
Re:Fixing the callback spaghetti in node.js by SomeCallMeTim on Thursday September 29, 2011 @12:06PM (#3052997)
No, it's pretty easy. An example:

    local doc = ngx.location.capture(  "/couchdb/hamster/"..uid );
This queries the local CouchDB for a particular user record, and stores it in a local variable.

There are no comments on this comment yet.