Introducing grunt-each

A couple weeks ago I published version 1.0.0 of grunt-each, a plugin for grunt that runs arbitrary actions on file contents and writes the results to a destination. As with (almost) all of my modules, I wrote it because I had a use case that no existing module »

Introducing file-manifest

This is not really an introduction, as file-manifest has existed for almost two years. File-manifest is a node module I wrote originally with Justin Searls for the Manta platform when we were in the process of migrating it from a monolithic Perl application to a Node.js and Java service-based »

Running multi-environment apps in node.js

It's a common paradigm, at least in web development (and I can't really speak for anything else), to have different "environments" for production and development, so developers who are working on new features are not affecting other users when they inevitably break stuff. Having separated environments also allows you to »

The Odd Couple: Server- and client-side templating, together at last

With the recent growth of mega, do-everything client-side frameworks that include their own partial template rendering mechanisms (such as angular, ember, react, etc. etc. etc.), the potential of running into interpolation pattern clashes between your servers-side template renderer and your client-side framework renderer is high. Of course, the obvious solution »

Faking the API

If you're building a web application and you want to follow the single-page app design pattern - because, let's face it, this is the new hotness in web design - you will probably end up with an API whose primary responsibility is to grab data from the database, possibly manipulate »