November 2013
Intermediate to advanced
148 pages
3h 12m
English
A lot of the buzz around Node.js centers on using it for writing scalable websites, apps, and services. In this chapter we’ll develop robust, RESTful, JavaScript Object Notation (JSON)-based web services. Creating web services will be our backdrop for digging into these aspects of Node development:
You’ll learn how to use Node’s built-in http module to create a basic HTTP server.
Some Node modules have their own ecosystem of plug-ins that provide additional behavior. We’ll use plug-ins for Express and learn how its middleware pattern provides hooks for additional functionality. We’ll also use promises, a powerful abstraction for writing asynchronous code.
ECMAScript Harmony ...
Read now
Unlock full access