Book Image

Professional Node.js

By : Glenn Dayton
Book Image

Professional Node.js

By: Glenn Dayton

Overview of this book

Through Professional Node.js, you will be presented with various sets of patterns that you can use to efficiently solve your everyday development and design problems. You will understand what different traditional design patterns look like in Node.js, and how to design modules that focus on performing a single task at a time. You will gain an understanding of the basic building blocks and principles of writing large and well-organized Node.js applications. You will be able to apply these principles to problems that don't fall within the scope of existing patterns.
Table of Contents (8 chapters)
Chapter 3
Asynchronous Control Flow Patterns with Callbacks
Content Locked
Section 2
The Difficulties of Asynchronous Programming
The flexibility of JavaScript objects is expressed primarily through the possibility of changing their structure even after their creation. Basically, while creating objects, you can start from a common structure defined by a constructor and then customize it to our needs. But how do you change the structure of all objects created using a constructor? In this video we’ll discuss these difficulties.