Get the best out of Node.js by mastering a series of patterns and techniques to create modular, scalable, and efficient applicationsKey Features
- Dive into the core patterns and components of Node.js in order to master your application's design
- Learn tricks, techniques, and best practices to solve common design and coding challenges
- Take a code-centric approach to using Node.js without friction
Book Description
Node.js is a massively popular software platform that lets you use JavaScript to easily create scalable server-side applications. It allows you to create efficient code, enabling a more sustainable way of writing software made of only one language across the full stack, along with extreme levels of reusability, pragmatism, simplicity, and collaboration. Node.js is revolutionizing the web and the way people and companies create their software.
In this book, we will take you on a journey across various ideas and components, and the challenges you would commonly encounter while designing and developing software using the Node.js platform. You will also discover the "Node.js way" of dealing with design and coding decisions.
The book kicks off by exploring the fundamental principles and components that define the platform. It then shows you how to master asynchronous programming and how to design elegant and reusable components using well-known patterns and techniques. The book rounds off by teaching you the various approaches to scale, distribute, and integrate your Node.js application.
What you will learn
- Design and implement a series of server-side JavaScript patterns so you understand why and when to apply them in different use case scenarios
- Understand the fundamental Node.js components and use them to their full potential
- Untangle your modules by organizing and connecting them coherently
- Reuse well-known solutions to circumvent common design and coding issues
- Deal with asynchronous code with comfort and ease
- Identify and prevent common problems, programming errors, and anti-patterns
Who This Book Is For
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.
Table of Contents
- Node.js Design Fundamentals
- Asynchronous Control Flow Patterns
- Coding with Streams
- Design Patterns
- Wiring Modules
- Recipes
- Scalability and Architectural Patterns
- Messaging and Integration Patterns
Mario Casciaro
Mario Casciaro is a software engineer and technical lead with a passion for open source. He began programming with a Commodore 64 when he was 12, and grew up with Pascal and Visual Basic. His programming skills evolved by experimenting with x86 assembly language, C, C++, PHP, and Java. His relentless work on side projects led him to discover JavaScript and Node.js, which quickly became his new passion. In his professional career, he worked with IBM for several years-first in Rome and then in the Dublin Software Lab. At IBM, Mario worked on products for brands such as Tivoli, Cognos, and Collaboration Solutions, using a variety of technologies from C to PHP and Java. He then plunged into the adventurous world of start ups to work full time on Node.js projects. He ended up working in a lighthouse, at D4H Technologies, where he led the development of a real-time platform to manage emergency operations.