Code from the book Sams Teach Yourself Node.js in 24 Hours