FREE

Modules

Understanding and using the Node module system

by Pedro Teixeira


ABOUT THE BOOK

The first short book of this series is a short introduction that sets the foundation of the next books to come. It shows what you can do with JavaScript and the Node module system to create and consume different types of modules: Singletons, Closure-based and prototype-based pseudo-classes, façades and others.

37 pages

Contents:

  • Returning the exported value
  • A module registry
  • Transitive module loading
  • The Node module system
  • Module types
  • The Singleton pattern
  • Closure-based classes
  • Prototype-based classes
  • Façades

Price: Free

ABOUT THE AUTHOR

Pedro Teixeira is a geek, programmer and entrepreneur. He's also the author of some Node modules, the Hands-on Node.js e-book, the Professional Node.js book and is an overall fervent proclaimer of the Node.js creed. Organiser of LXJS, the Lisbon JavaScript Conference. Partner at YLD.
FREE

Pedro Teixeira

Modules

Understanding and using the Node module system

Pedro Teixeira

Flow Control

Mastering asynchronous flow control in Node

Pedro Teixeira

Work Queues

Master Deferred and Distributed Work in Node

Pedro Teixeira

Configuration

How to efficiently distribute the configuration of your Node processes

Pedro Teixeira

Networking

How to escape the trap of monolithic apps using Node

Pedro Teixeira

Databases

Volume I - LevelDB, Redis and CouchDB