I recently had the opportunity to review Manning’s Single Page Web Applications by Michael Mikowski.
Each Chapter in the book steps you through the creation of a chat application in a very methodical way as new functionality and techniques are added in isolation. For example, during the ‘SPA client’ part, TaffyDB is proposed as a client-side datastore, which is then replaced by MongoDB in the ‘SPA server’ part. It’s very useful to introduce TaffyDB, not just to show the possibility but also to allow it’s use for unit testing.
If you want to see what the final application looks like you’ll either have to work through the book cover to cover, or download the source code from Mannings’ site and jump in at chapter 9 - you’d have to know how to launch your application though (not hard, but you’d have to know ‘nodejs ch09/app.js’).
It would be nice to have the code available in working form, as a template in a PaaS (OpenShift for example, or Nitrous.io, Heroku …) and/or as a Docker (trusted build) image. Having the sources available as git repo would be a good idea.
But I’m being very demanding here … we’re so spoilt in the 201x’s …
I created a Dockerfile available here and intend to make a trusted build available as that’s how I like to work.
An impressive work crammed with good teaching and best practices!