O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introducing the MEAN Stack

Node is one part of a larger puzzle. Whether you’re using the full Mongo / Express / Angular / Node (MEAN) stack or not, understanding how those pieces fit together will make it easier to see how Node fits in applications.

from Architecture of the MEAN Stack by Scott Davis

Headless JavaScript: JS Outside the Browser

JavaScript is usually associated with front-end development, but Node has extended its reach. You can use JavaScript on the server or on the desktop, but moving beyond the browser requires changing how you build your applications.

from Architecture of the MEAN Stack by Scott Davis

Create a Node.js application

To get started with Node development, you need to define an initial Node application supporting basic functionality.

from Node.js, MongoDB and AngularJS Web Development LiveLessons (Video Training) by Brad Dayley

Create a Node.js module

Your Node applications won’t be one giant block of code: you’ll construct your programs out of modules, both the ones you create and the ones you link from elsewhere. Get started with this basic component of program logic.

from Node.js, MongoDB and AngularJS Web Development LiveLessons (Video Training) by Brad Dayley

Utilize the Node.js callback model

Node shuns synchronous connections, driving developers to work in a model where they make requests and then wait for an answer. Callbacks are the core Node construct enabling this.

from Node.js, MongoDB and AngularJS Web Development LiveLessons (Video Training) by Brad Dayley

Node.js and Express.js – Our Backend

You can write Node applications where you control every detail of the routing in your own code, but it’s much easier to get started by letting the Express framework handle that.

from Mastering MEAN Web Development by Luke Madera

Rapid Prototyping Web Applications Using Node.js and MongoDB

Sometimes you’re writing apps for the ages. Other times you need to create something quick. Node lets you do both, and is especially useful when you need to prototype something new.

from Rapid Prototyping Web Applications Using Node.js and MongoDB by Jason Krol

Building a WebSocket Server

WebSockets give you longer-lasting and lighter-weight connections than HTTP. Learn how to set them up quickly in Node.

from Node.js Recipes: Advanced Techniques by Cory Gackenheimer

Debugging and Deployment with Node.js

All these callbacks, all these modules – it’s a lot to track before you put an application in production. Debugging tools can help you through the maze.

from Node.js Recipes: Advanced Techniques by Cory Gackenheimer

Hosting on Amazon Web Services

Your Node application works great locally, but you want it to reach a crowd. Fortunately, deploying Node applications to Amazon Web Services isn’t too big a challenge.

from Node.js Recipes: Advanced Techniques by Cory Gackenheimer

Understanding Dockerfiles

Deploying ever-changing applications can be a recipe for madness. Fortunately Docker’s containerization model can simplify your deployment challenges and reduce the number of things you need to change repeatedly.

from Docker for Web Developers by Ian Miell

Serverside / Isomorphic JavaScript with ReactJS and Node

If your application needs to minimize front-end processing power, bandwidth, or time to display, you may want to consider moving front-end code to the server. Node is also JavaScript, so you can reuse the same code.

from Fluent Conference 2015 Complete Video Compilation by David Wells

Simon St. Laurent is Senior Editor at O’Reilly Media, Inc., focusing primarily on JavaScript and Web-related projects. He is co-chair of the Fluent conference. He’s authored or co-authored books including Introducing Elixir, Introducing Erlang, Learning Rails 3, XML Pocket Reference, 3rd, XML: A Primer, and Cookies. You can find more of his writing on technology, Quakerism, and the Town of Dryden at simonstl.com.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required