Skip to Main Content
Node.js in Action
book

Node.js in Action

by TJ Holowaychuk, Nathan Rajlich, Mike Cantelon, Marc Harter
October 2013
Intermediate to advanced content levelIntermediate to advanced
416 pages
13h 2m
English
Manning Publications
Content preview from Node.js in Action

Chapter 3. Node programming fundamentals

This chapter covers

  • Organizing your code into modules
  • Coding conventions
  • Handling one-off events with callbacks
  • Handling repeating events with event emitters
  • Implementing serial and parallel flow control
  • Leveraging flow-control tools

Node, unlike many open source platforms, is easy to set up and doesn’t require much in terms of memory and disk space. No complex integrated development environments or build systems are required. Some fundamental knowledge will, however, help you a lot when starting out. In this chapter we’ll address two challenges that new Node developers face:

  • How to organize your code
  • How asynchronous programming works

The problem of organizing code is familiar to most ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Get Programming with Node.js

Get Programming with Node.js

Jon Wexler
Beginning Node.js

Beginning Node.js

Basarat Ali Syed
Node.js in Action, Second Edition

Node.js in Action, Second Edition

Bradley Meck, Nathan Rajlich, TJ Holowaychuk, Mike Cantelon, Tim Oxley, Alex Young

Publisher Resources

ISBN: 9781617290572Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link