
Learning JavaScript Design Patterns
A JavaScript and React Developer's Guide
Adnan Osmani(Author)
O'Reilly (Publisher)
2nd Edition
Published on 12. May 2023
Book
Paperback/Softback
320 pages
978-1-0981-3987-2 (ISBN)
Description
Do you want to write beautiful, structured, and maintainable JavaScript by applying classical and modern design patterns to the language? Do you want clean, efficient, manageable code? Want to stay up-to-date with the latest best practices? If so, the updated second edition of Learning JavaScript Design Patterns is the ideal place to start.
Author Addy Osmani shows you how to apply both classical and modern design patterns to JavaScript. That includes popular design patterns including Modules, Observers, Facades, and Mediators. You'll also learn how modern architectural patterns-such as MVC, MVP, and MVVM-are useful from the perspective of a modern web application developer. Other essential topics include modern JavaScript syntax, React patterns (like Hooks), module formats, classes, async/await, and more.
This book explores:
How to structure and write design patterns
Different pattern categories, including creational, structural, and behavioral
More than 20 classical and modern design patterns in JavaScript
"Pattern"-ity testing, proto-patterns, and the Rule of Three
Options for writing modular code-including the Module pattern, Asynchronous Module Definition (AMD), and CommonJS
Patterns to architect components and apps using React.js
Author Addy Osmani shows you how to apply both classical and modern design patterns to JavaScript. That includes popular design patterns including Modules, Observers, Facades, and Mediators. You'll also learn how modern architectural patterns-such as MVC, MVP, and MVVM-are useful from the perspective of a modern web application developer. Other essential topics include modern JavaScript syntax, React patterns (like Hooks), module formats, classes, async/await, and more.
This book explores:
How to structure and write design patterns
Different pattern categories, including creational, structural, and behavioral
More than 20 classical and modern design patterns in JavaScript
"Pattern"-ity testing, proto-patterns, and the Rule of Three
Options for writing modular code-including the Module pattern, Asynchronous Module Definition (AMD), and CommonJS
Patterns to architect components and apps using React.js
More details
Edition
2nd edition
Language
English
Place of publication
Sebastopol
United States
Dimensions
Height: 227 mm
Width: 177 mm
Thickness: 27 mm
Weight
534 gr
ISBN-13
978-1-0981-3987-2 (9781098139872)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions


Previous edition

Addy Osmani
Learning JavaScript Design Patterns
Book
08/2012
1st Edition
O'Reilly
€32.00
Article exhausted; check for reprint
Person
Addy Osmani is an Engineering Leader working on Google Chrome. He leads Chrome's Developer Experience teams, helping to keep the web fast and delightful to build. Addy has authored several open-source projects as well as a number of books including Learning Patterns, Learning JavaScript Design Patterns, and Image Optimization. His personal blog is addyosmani.com.