January 2011
9 posts
1 tag
Jan 29th
1 tag
CommonJS & module.exports
While looking at the change log and then the source code for Underscore.js, I figured out how to have a function as the root variable for an object.http://documentcloud.github.com/underscore/docs/underscore.html#section-10 Since exports = function() {} won’t do anything to the outer scope, it can’t work. The trick is to set module.exports. Based on my interpretation of the Underscore...
Jan 27th
1 tag
Jan 26th
Jan 22nd
1 tag
Hoisting and Deep Linking
I’m a terminology buff. I think that there are not nearly enough words for features of software applications. This is evidenced by programmers saying to each other, “it’s like a wiki”, and people hearing CouchDB has revisions and assuming it has versioning like wikis do. So I’d like to introduce a couple of terms I recently became familiar with: Outliners back in the...
Jan 18th
Jan 18th
making vs. keeping new year's resolutions →
Jan 17th
1 tag
getting up to speeed on couchapp, and experiments...
To learn about building CouchApps I recommend checking these out: evently, a client-side JavaScript framework that puts JSON containing javascript functions, selectors, markdown, and more into motion. Very slick, but needs more people working on it. CouchOne pages, a wiki engine written as a CouchApp couchapp, the python app builder and uploader node.couchapp.js, an alternative to couchapp...
Jan 14th
Jan 5th