Learning JavaScript Design Patterns

A JavaScript and jQuery Developer's Guide

Paperback Engels 2023 2e druk 9781098139872
€ 76,35
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

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.

Specificaties

ISBN13:9781098139872
Taal:Engels
Bindwijze:paperback
Aantal pagina's:235
Uitgever:O'Reilly
Druk:2
Verschijningsdatum:31-5-2023
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over Addy Osmani

Addy Osmani is a writer, speaker, and a JavaScript developer. He is a member of the jQuery core [Bug Triage/Docs/Learning] teams where helps with bugs, documentation, and developer evangelism. When not working at AOL his personal OS projects include jQuery UI Bootstrap and TodoMVC, which help developers compare JavaScript MVC frameworks. Addy is the author of the popular ebook, Essential JavaScript Design Patterns. His personal blog is addyosmani.com/blog/.

Andere boeken door Addy Osmani

Inhoudsopgave

Preface
Structure of the Book
Conventions Used in This Book
Using Code Examples
O’Reilly Online Learning
How to Contact Us
Acknowledgments

1. Introduction to Design Patterns
History of Design Patterns
What Is a Pattern?
An Everyday Use Case for Design Patterns
Summary

2. “Pattern”-ity Testing, Proto-Patterns, and the Rule of Three
What Are Proto-Patterns?
The “Pattern” Tests
Rule of Three
Summary

3. Structuring and Writing Patterns
The Structure of a Design Pattern
Well-Written Patterns
Writing a Pattern
Summary

4. Anti-Patterns
What Are Anti-Patterns?
Anti-Patterns in JavaScript
Summary

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

6. Categories of Design Patterns
Background
Creational Design Patterns
Structural Design Patterns
Behavioral Design Patterns
Design Pattern Classes
Summary

7. JavaScript Design Patterns
Creational Patterns
The Constructor Pattern
Object Creation
Basic Constructors
Afgekapt op 60 regels

Managementboek Top 100

€ 76,35
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Learning JavaScript Design Patterns