Learning JavaScript Design Patterns a JavaScript and React developer's guide

Do you want to write beautiful, structured, and maintainable JavaScript by applying 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...

Full description

Bibliographic Details
Main Author: Osmani, Addy
Format: eBook
Language:English
Published: Sebastopol, CA O'Reilly Media 2023
Edition:Second edition
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 06170nmm a2200541 u 4500
001 EB001930614
003 EBX01000000000000001093516
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 1098139836 
020 |a 9781098139841 
020 |a 9781098139834 
050 4 |a QA76.73.J39 
100 1 |a Osmani, Addy 
245 0 0 |a Learning JavaScript Design Patterns  |b a JavaScript and React developer's guide  |c Addy Osmani 
250 |a Second edition 
260 |a Sebastopol, CA  |b O'Reilly Media  |c 2023 
300 |a 299 p. 
505 0 |a Managing the Extrinsic States -- The Flyweight Pattern and the DOM -- Example: Centralized Event Handling -- Behavioral Patterns -- The Observer Pattern -- Differences Between the Observer and Publish/Subscribe Pattern -- Advantages -- Disadvantages -- Publish/Subscribe Implementations -- The Mediator Pattern -- A Simple Mediator -- Similarities and Differences -- Event Aggregator Use -- Mediator Use -- Event Aggregator (Pub/Sub) and Mediator Together -- Mediator/Middleware in Modern JavaScript -- Mediator Versus Facade -- The Command Pattern -- Summary -- Chapter 8. JavaScript MV* Patterns 
505 0 |a Well-Written Patterns -- Writing a Pattern -- Summary -- Chapter 4. Anti-Patterns -- What Are Anti-Patterns? -- Anti-Patterns in JavaScript -- Summary -- Chapter 5. Modern JavaScript Syntax and Features -- The Importance of Decoupling Applications -- Modules with Imports and Exports -- Module Objects -- Modules Loaded from Remote Sources -- Static Imports -- Dynamic Imports -- Import on Interaction -- Import on Visibility -- Modules for the Server -- Advantages of Using Modules -- Classes with Constructors, Getters, and Setters -- Classes in JavaScript Frameworks -- Summary -- Related Reading 
505 0 |a Cover -- Copyright -- Table of Contents -- Preface -- Structure of the Book -- Conventions Used in This Book -- Using Code Examples -- O'Reilly Online Learning -- How to Contact Us -- Acknowledgments -- Chapter 1. Introduction to Design Patterns -- History of Design Patterns -- What Is a Pattern? -- An Everyday Use Case for Design Patterns -- Summary -- Chapter 2. "Pattern"-ity Testing, Proto-Patterns, and the Rule of Three -- What Are Proto-Patterns? -- The "Pattern" Tests -- Rule of Three -- Summary -- Chapter 3. Structuring and Writing Patterns -- The Structure of a Design Pattern 
505 0 |a Chapter 6. Categories of Design Patterns -- Background -- Creational Design Patterns -- Structural Design Patterns -- Behavioral Design Patterns -- Design Pattern Classes -- Summary -- Chapter 7. JavaScript Design Patterns -- Creational Patterns -- The Constructor Pattern -- Object Creation -- Basic Constructors -- Constructors with Prototypes -- The Module Pattern -- Object Literals -- The Module Pattern -- Module Pattern Variations -- Modern Module Pattern with WeakMap -- Modules with Modern Libraries -- The Revealing Module Pattern -- Advantages -- Disadvantages -- The Singleton Pattern 
505 0 |a State Management in React -- The Prototype Pattern -- The Factory Pattern -- When to Use the Factory Pattern -- When Not to Use the Factory Pattern -- Abstract Factories -- Structural Patterns -- The Facade Pattern -- The Mixin Pattern -- Subclassing -- Mixins -- Advantages and Disadvantages -- The Decorator Pattern -- Pseudoclassical Decorators -- Interfaces -- Abstract Decorators -- Advantages and Disadvantages -- Flyweight -- Using Flyweights -- Flyweights and Sharing Data -- Implementing Classical Flyweights -- Converting Code to Use the Flyweight Pattern -- A Basic Factory 
653 |a Software patterns / fast 
653 |a Logiciels / Modèles de conception 
653 |a Langages de script (Informatique) 
653 |a JavaScript (Computer program language) / http://id.loc.gov/authorities/subjects/sh96004880 
653 |a Computer software / Reusability / fast 
653 |a Logiciels / Réutilisation 
653 |a Computer software / Reusability / http://id.loc.gov/authorities/subjects/sh87004662 
653 |a Software patterns / http://id.loc.gov/authorities/subjects/sh98003823 
653 |a JavaScript (Langage de programmation) 
653 |a JavaScript (Computer program language) / fast 
653 |a Scripting languages (Computer science) / fast 
653 |a Scripting languages (Computer science) / http://id.loc.gov/authorities/subjects/sh2006007256 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
500 |a MVC 
776 |z 1098139844 
776 |z 9781098139834 
776 |z 9781098139841 
776 |z 1098139836 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781098139865/?ar  |x Verlag  |3 Volltext 
082 0 |a 005.2/762 
082 0 |a 500 
082 0 |a 005.133 
520 |a Do you want to write beautiful, structured, and maintainable JavaScript by applying 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 modern design patterns to JavaScript and React--including modules, mixins, observers, and mediators. You'll learn about performance and rendering patterns such as server-side rendering and Islands architecture. You'll also learn how architectural patterns like MVC, MVP, and MVVM are useful from the perspective of a modern web application developer. This book explores: Architectural patterns for structuring your components and apps More than 20 design patterns in JavaScript and React, applicable for developers at any level Different pattern categories including creational, structural, and behavioral Essential performance patterns including dynamic imports and code-splitting Rendering patterns such as server-side rendering, hydration, Islands architecture, and more Additionally, you'll explore modern JavaScript syntax like JavaScript modules, React patterns like Hooks, higher-order components (HOCs), and more, to stay ahead in the ever-evolving world of web development