Node.js Design Patterns - Mario Casciaro, Luciano Mammino

Node.js Design Patterns

Design and implement production-grade Node.js applications using proven patterns and techniques
Buch | Softcover
664 Seiten
2020 | 3rd Revised edition
Packt Publishing Limited (Verlag)
978-1-83921-411-0 (ISBN)
54,85 inkl. MwSt
Studibuch Logo

...gebraucht verfügbar!

Learn proven patterns, techniques, and tricks to take full advantage of the Node.js platform. Master well-known design principles to create applications that are readable, extensible, and that can grow big.

Purchase of the print or Kindle book includes a free eBook in the PDF format.

Key Features

Learn how to create solid server-side applications by leveraging the full power of Node.js
Understand how Node.js works and learn how to take full advantage of its core components as well as the solutions offered by its ecosystem
Avoid common mistakes and use proven patterns to create production grade Node.js applications

Book DescriptionIn this book, we will show you how to implement a series of best practices and design patterns to help you create efficient and robust Node.js applications with ease.

We kick off by exploring the basics of Node.js, analyzing its asynchronous event driven architecture and its fundamental design patterns. We then show you how to build asynchronous control flow patterns with callbacks, promises and async/await. Next, we dive into Node.js streams, unveiling their power and showing you how to use them at their full capacity. Following streams is an analysis of different creational, structural, and behavioral design patterns that take full advantage of JavaScript and Node.js. Lastly, the book dives into more advanced concepts such as Universal JavaScript, scalability and messaging patterns to help you build enterprise-grade distributed applications.

Throughout the book, you’ll see Node.js in action with the help of several real-life examples leveraging technologies such as LevelDB, Redis, RabbitMQ, ZeroMQ, and many others. They will be used to demonstrate a pattern or technique, but they will also give you a great introduction to the Node.js ecosystem and its set of solutions.What you will learn

Become comfortable with writing asynchronous code by leveraging callbacks, promises, and the async/await syntax
Leverage Node.js streams to create data-driven asynchronous processing pipelines
Implement well-known software design patterns to create production grade applications
Share code between Node.js and the browser and take advantage of full-stack JavaScript
Build and scale microservices and distributed systems powered by Node.js
Use Node.js in conjunction with other powerful technologies such as Redis, RabbitMQ, ZeroMQ, and LevelDB

Who this book is forThis book is for developers and software architects who have some prior basic knowledge of JavaScript and Node.js and now want to get the most out of these technologies in terms of productivity, design quality, and scalability. Software professionals with intermediate experience in Node.js and JavaScript will also find valuable the more advanced patterns and techniques presented in this book.

This book assumes that you have an intermediate understanding of web application development, databases, and software design principles.

Mario Casciaro is a software engineer and entrepreneur, passionate about technology, science and open source knowledge. Mario graduated with a master's degree in software engineering and started his professional career at IBM where he worked for several years on different enterprise products such as Tivoli Endpoint Manager, Cognos Insight, and SalesConnect. Next, he moved to D4H Technologies, a growing SaaS company, to lead the development of a new bleeding-edge product for managing emergency operations in real time. Currently, Mario is the co-founder and CEO of Sponsorama.com, a platform to help online projects raise funds through corporate sponsorship. Mario is also the author of the first edition of Node.js Design Patterns. Luciano Mammino is a software engineer born in 1987, the same year that the Nintendo released Super Mario Bros in Europe, which by chance is his favorite video-game. He started coding at the age of 12 using his father's old Intel 386, provided only with the DOS operating system and the qBasic interpreter. After a master's degree in computer science he developed his programming skills mostly as a web developer working mainly as freelancer for companies and startups all around Italy. After a start-up parenthesis of 3 years as CTO and co-founder of Sbaam.com in Italy and in Ireland, he decided to relocate in Dublin to work as senior PHP engineer at Smartbox. He loves developing open source libraries and working with frameworks such as Symfony and Express. He is convinced that the JavaScript fame is still at the very beginning and that this technology will have a huge impact in the future of most of the web-and mobile-related technologies. For this reason, he spends most of his free time improving his knowledge of JavaScript and playing with Node.js.

Table of Contents

The Node.js Platform
The Module System
Callbacks and Events
Asynchronous Control Flow Patterns with Callbacks
Asynchronous Control Flow Patterns with Promises and Async/Await
Coding with Streams
Creational Design Patterns
Structural Design Patterns
Behavioral Design Patterns
Universal JavaScript for Web Applications
Advanced Recipes
Scalability and Architectural Patterns
Messaging and Integration Patterns

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 191 x 235 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung SOA / Web Services
Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-83921-411-2 / 1839214112
ISBN-13 978-1-83921-411-0 / 9781839214110
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich