Re:37signals Basecamp Mobile HTML5 app for WebKit browsers
by sstephenson on Tuesday February 01, 2011 @11:03AM
(#2165941)
We'll definitely be open-sourcing Cinco in the coming months.
There are a couple of reasons we went with the Stitch approach. For one, we found the CommonJS module system (as implemented by Node.js) to be an elegant way to declare dependencies and share state between closures.
Second, our test suite runs headlessly in Node.js. By using Node's require system, we're able to get useful information and correct filenames in backtraces during development.
I'm presuming that the back-end for Basecamp Mobile is the current Basecamp Rails app -- I'm curious about why you decided to use Stitch to package your JS, instead of what Rails is using (probably Sprockets or Sprockets 2).