JavaScript Design Patterns, Published by Packt
This is the code repository for JavaScript Design Patterns, published by Packt.
Deliver fast and efficient production-grade JavaScript applications at scale
This book is for developers and software architects who want to leverage JavaScript and the web platform for enhanced productivity, superior software quality, and optimized application performance.
This book covers the following exciting features:
- Find out how patterns are classified into creational, structural, and behavioral
- Implement the right set of patterns for different business scenarios
- Explore diverse frontend architectures and different rendering approaches
- Identify and address common asynchronous programming performance pitfalls
- Leverage event-driven programming in the browser to deliver fast and secure applications
- Boost application performance using asset loading strategies and offloading JavaScript execution
If you feel this book is for you, get your copy today!
All of the files is organized into folders. For example, Chapter2
Pre-requisites:
- Node.js 20+
- npm v8+ (npm 10 comes bundled with Node 20)
- Install all the dependencies
npm install
- Find the chapter samples you want to run in package.json "scripts" section, for example
npm run ch3 # or npm run ch5:next-static
Following is what you need for this book:
Unlock the potential of JavaScript design patterns, the foundation for development teams seeking structured and reusable solutions to common software development challenges in this guide to improving code maintainability, scalability, and performance. Discover how these patterns equip businesses with cleaner and more maintainable code, promote team collaboration, reduce errors, and save time and costs.
With the following software and hardware list you can run all code files present in the book (Chapter 2-12).
Hugo Di Francesco is a software engineer who has worked extensively with JavaScript. He holds an MEng degree in mathematical computation from University College London (UCL). He has used JavaScript across the stack to create scalable and performant platforms at companies such as Canon and Elsevier, and in industries such as print on demand and mindfulness. He is currently tackling problems in the travel industry at Eurostar with Node.js, TypeScript, React, and Kubernetes, while running the eponymous Code with Hugo website. Outside of work, he is an international fencer, in the pursuit of which he trains and competes across the globe