batman.js

Quite some time ago (May 2011), I first heard about batman.js. It's homepage was still a bit empty, but gave a pretty good example of we're the framework was headed. It's written in CoffeeScript and so far it's been pretty amazing. It's concise and once you understand how it works, pretty simple to use. This is also where some of the pain is: the documenation leaves a lot to desire, but the development team's helpfulness more than compensates for it. I'm planning to put some useful snippets on this site as I go about discovering and continue working with batman.js. I'll start off with a small snippet for a Regular Expression Validator I wrote:

Use with: