After a long wait, we have a shiny new sample project: vidmood. vidmood lets you share your moods in the form of wacky YouTube videos. It is (or will be) social, it's fun, and most importantly it demonstrates a different approach to building web apps with node.
The blog application was a traditional web app, in the style of Ruby on Rails or Symfony 1: a big web application server rendering lots of HTML for each individual URL the user can access.
vidmood is different. vidmood follows the new wave approach taken by web apps like twitter and gmail. When you visit the home page, you receive a web page... and that's the last time you receive a new web page (except for the Twitter login process).
What does all this mean? It means that vidmood is fast, and easy to scale. The server does as little work as possible. The browser does all that heavy lifting shifting HTML elements around. All the server has to do is provide access to data. In a nutshell, the server is the model layer.
I'll be covering the code line by line over the next few days. But if you're curious, you don't have to wait! You can check out the source code now, or just play with the first version of the vidmood app.