Part 7 in the node.js tutorial from tomwacaster.com