But first, why Node?
It also provides a package manager, npm, that gives easy access to the vast range of packages that run on the Node platform.
Visit the NodeJS website: http://nodejs.org/
Express is one of the most popular Node packages. It’s a web application framework – a powerful and flexible way of defining what web servers should do. You can write a basic web server with just a few lines of code, or implement more complex behavior in a straightforward and expressive way, by defining how middleware should process web requests.
We use Express to power the KeyLines SDK website that our customers use to build their network visualization applications.
Visit the ExpressJS website: http://expressjs.com/
Another useful Node package is Jade, which is a powerful templating engine. At its simplest, it lets you write HTML in a clear and stripped-down way, without an angle bracket (or forgotten </div> in sight. But it also offers control structures like loops and conditionals, and powerful templating features that give you a lot of flexibility in building web pages. We use it extensively on our SDK website.
Visit the Jade language website: http://jade-lang.com/
Visit the JSHint website: http://www.jshint.com/
Request is a very useful Node package that provides a simple way to make HTTP calls to other servers and process the results, dealing with a lot of the complexity for you. It’s particularly useful if you need to set up a proxy to another server to avoid problems with cross-origin resource sharing – when browser security stops resources from one web server interacting with those from another.
Visit the RequestJS website: http://www.npmjs.org/package/request
Visit the Chrome Developers tool website: http://developers.google.com/chrome-developer-tools/
Read more blog posts about Best Practice.