Title Statements
- Full title :Node.js Design Patterns.
Summary
If you're a JavaScript developer interested in a deeper understanding of how to create and design Node.js applications, this is the book for you.
Read More ↓Edition Statements
- Publication Date:2014.
Publication Statements
- Publisher(s):Packt Publishing
- Place of Publication:Birmingham
- Language:eng
- Publication Date:2014.
Notes
Time efficiency.
The Physical Object
- Description:1 online resource (454 pages)
Edition Identifiers
- ISBN:1322568499, 9781322568492, 1783287314, 9781783287314, 9781783287321, 1783287322
- oclc:ocn994554898
- LC Classification:QA76.9 .C55
- Dewey Decimal:005.133
Table of Contents
Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Node.js Design Fundamentals; The Node.js philosophy; Small core; Small modules; Small surface area; Simplicity and pragmatism; The reactor pattern; I/O is slow; Blocking I/O; Non-blocking I/O; Event demultiplexing; The reactor pattern; The non-blocking I/O engine of Node.js -- libuv; The recipe for Node.js; The callback pattern; The continuation-passing style; Synchronous continuation-passing style; Asynchronous continuation-passing style.
Non continuation-passing style callbacksSynchronous or asynchronous?; An unpredictable function; Unleashing Zalgo; Using synchronous APIs; Deferred execution; Node.js callback conventions; Callbacks come last; Error comes first; Propagating errors; Uncaught exceptions; The module system and its patterns; The revealing module pattern; Node.js modules explained; A homemade module loader; Defining a module; Defining globals; module.exports vs exports; require is synchronous; The resolving algorithm; The module cache; Cycles; Module definition patterns; Named exports; Exporting a function.
Exporting a construc…
Rate & Review