Book Image

Node.js Design Patterns

By : Mario Casciaro
Book Image

Node.js Design Patterns

By: Mario Casciaro

Overview of this book

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.
Table of Contents (16 chapters)
Node.js Design Patterns
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Acknowledgments

This book is the result of an amazing amount of work, knowledge, and perseverance from many people. A big thanks goes to the entire team at Packt who made this book a reality, from the editors to the project coordinator; in particular, I would like to thank Rebecca Youé and Sriram Neelakantan for their guidance and patience during the toughest parts of the writing process. Kudos to Alan Shaw, Joel Purra, and Afshin Mehrabani who dedicated their time and expertise to reviewing the technical content of the book; every comment and advice was really invaluable in bringing this work up to production quality. This book would not exist without the efforts of so many people who made Node.js a reality—from the big players, who continuously inspired us, to the contributor of the smallest module.

In these months, I also learned that a book is only possible with the support and encouragement of all the people around you. My gratitude goes to all my friends who heard the phrase "Today I can't, I have to work on the book" too many times; thanks to Christophe Guillou, Zbigniew Mrowinski, Ryan Gallagher, Natalia Lopez, Ruizhi Wang, and Davide Lionello for still talking to me. Thanks to the D4H crew, for their inspiration and understanding, and for giving me the chance to work on a first-class product.

Thanks to all the friends back in Italy, to the legendary company of Taverna and Centrale, to the lads of Lido Marini for always giving me a great time, laughing and having fun. I'm sorry for not being present in the past few months.

Thanks to my Mom and Dad, and to my brother and sister, for their unconditional love and support.

At last, you have to know that there is another person who wrote this book along with me, that's Miriam, my girlfriend, who walked throughout this long journey with me and supported me night and day, regardless of how difficult it was. There's nothing more one could wish for. I send all my love and gratitude to her. Many adventures await us.