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
About the AuthorAddy 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.
Book InformationISBN 9781098139872
Author Adnan OsmaniFormat Paperback
Page Count 320
Imprint O'Reilly MediaPublisher O'Reilly Media