HTML and CSS Reference
others have tried to do the same, yet none of these projects have made a big impact on
the developer community. That is, until 2009, when Ryan Dahl released the Node.js
runtime. At the same time, CommonJS, an attempt at a standard library specification
it's going to be big.
In this chapter we will use test-driven development to develop a small server-side
application using Node. Through this exercise we'll get to know Node and its con-
and draw from our experience with TDD and evented programming from previous
chapters to produce the backend of an in-browser chat application that we will
finish in the next chapter.
runtime implemented on top of Google's V8 engine, the same engine that powers
Google Chrome. Node uses an event loop and consists almost entirely of asyn-
chronous non-blocking API's, making it a good fit for streaming applications such
as those built using Comet or WebSockets.