
Node.js is a performant platform for web apps which is built on JavaScript—the most popular programming language in the world. If you aspire one day to become a Node.js architect (or maybe you’re already one and want to extend your knowledge), this presentation is for you, because we’ll talk about main Node patterns.
Control the execution flow with callbacks to enforce the right sequence, avoid nesting by naming functions, check errors at each step, and modularize into separate files or use observers.
Explore the middleware pattern in node, a function with a callback that calls next to enable modular, reusable request handling. See how Express structures modules via request, response, and next.
Learn how the observer pattern replaces single callbacks by enabling multiple event listeners that can be added, removed, and executed at any stage of a module without breaking the app.
Discover higher-order functions as function factories that return customizable functions through closures, letting you tailor behavior by arguments while capturing outer scope.
Node.js is this amazing and fast platform built on JavaScript which is the most popular programming language in the world.
Let's say you aspire one day to become a Node.js architect...
Or maybe, you’re already one and want to extend your knowledge,
Work in a full stack JavaScript?
This presentation is for you, because we’ll talk about main Node patterns.
In this presentation, we will start with the basic: what is event loop and callback (setTimeout(), setImmediate() and process.nextTick())....
Then we'll discuss the observer pattern with EventEmitter, the Middleware pattern and the Module patterns.
Next you will learn how to hack object prototype and global refs. We will also discuss factory pattern and pseudo-classical inheritance.
And lastly, we'll tackle Async patterns: Async, NeoAsync, async await, generators and Promises.
Wait no more and engage into learning and taking the max out of your Node code!