- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 298
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Learning JavaScript Design Patterns. 2nd Edition
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.
Wybrane bestsellery
-
W tej książce omówiono ponad 20 najprzydatniejszych wzorców projektowych, dzięki którym tworzone aplikacje internetowe będą łatwe w późniejszej obsłudze technicznej i w trakcie skalowania. Poza wzorcami projektowymi przedstawiono wzorce generowania i wydajności działania, których znaczenie dla uż...
Wzorce projektowe w JavaScripcie. Przewodnik dla programistów JavaScriptu i Reacta. Wydanie II Wzorce projektowe w JavaScripcie. Przewodnik dla programistów JavaScriptu i Reacta. Wydanie II
(41.40 zł najniższa cena z 30 dni)44.85 zł
69.00 zł(-35%) -
If you want to build your site’s frontend with the single-page application (SPA) model, this hands-on book shows you how to get the job done with Backbone.js. You’ll learn how to create structured JavaScript applications, using Backbone’s own flavor of model-view-controller (MVC...
Developing Backbone.js Applications. Building Better JavaScript Applications Developing Backbone.js Applications. Building Better JavaScript Applications
(143.65 zł najniższa cena z 30 dni)143.65 zł
169.00 zł(-15%) -
Dzięki tej książce zrozumiesz, że w rekurencji nie kryje się żadna magia. Dowiesz się, na czym polega jej działanie i kiedy warto zastosować algorytm rekursywny, a kiedy lepiej tego nie robić. Poznasz szereg klasycznych i mniej znanych algorytmów rekurencyjnych. Pracę z zawartym tu materiałem uła...
Rekurencyjna książka o rekurencji. Zostań mistrzem rozmów kwalifikacyjnych poświęconych językom Python i JavaScript Rekurencyjna książka o rekurencji. Zostań mistrzem rozmów kwalifikacyjnych poświęconych językom Python i JavaScript
(47.40 zł najniższa cena z 30 dni)51.35 zł
79.00 zł(-35%) -
This book is a comprehensive guide to deploying and scaling frontend web applications on Netlify. With hands-on instructions and real-world examples, this book takes you from setting up a Netlify account and deploying web apps to optimizing performance.
Web Development on Netlify. Proven strategies for building, deploying, and hosting modern web applications Web Development on Netlify. Proven strategies for building, deploying, and hosting modern web applications
(71.93 zł najniższa cena z 30 dni) -
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(186.15 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
This book provides a thorough understanding of JavaScript design patterns and assists with writing and structuring your JavaScript code and applications in a way that offers high performance to JavaScript application users.
JavaScript Design Patterns. Deliver fast and efficient production-grade JavaScript applications at scale JavaScript Design Patterns. Deliver fast and efficient production-grade JavaScript applications at scale
-
Znany i uwielbiany przez programistów React doczekał się potomka. Tak bowiem można by nazwać Gatsby.js – generator stron statycznych bazujący na bibliotece React. Gatsby używa jej jako swojej podstawy do budowania interfejsów użytkownika. Dalsze podobieństwa to między innymi struktura proje...
React i GatsbyJS. Kurs video. Nowoczesne strony internetowe w oparciu o headless CMS i GraphQL React i GatsbyJS. Kurs video. Nowoczesne strony internetowe w oparciu o headless CMS i GraphQL
(39.90 zł najniższa cena z 30 dni)81.95 zł
149.00 zł(-45%) -
Web apps are getting increasingly complex and frontend development more challenging. In this book, you’ll learn to better utilize the potential of the Angular framework and the design patterns that will simplify the challenges of your application.
Angular Design Patterns and Best Practices. Create scalable and adaptable applications that grow to meet evolving user needs Angular Design Patterns and Best Practices. Create scalable and adaptable applications that grow to meet evolving user needs
O autorze ebooka
Addy Osmani od lat pracuje jako programista JavaScriptu, jest autorem kilku popularnych książek na temat tego języka. Często występuje na konferencjach i innych wydarzeniach branżowych. Chętnie angażuje się w pomaganie innym programistom w rozwoju ich umiejętności.
Kup polskie wydanie:
Wzorce projektowe w JavaScripcie. Przewodnik dla programistów JavaScriptu i Reacta. Wydanie II
- Autor:
- Addy Osmani
34,50 zł
69,00 zł
(32.90 zł najniższa cena z 30 dni)
Ebooka "Learning JavaScript Design Patterns. 2nd Edition" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Learning JavaScript Design Patterns. 2nd Edition" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Learning JavaScript Design Patterns. 2nd Edition" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-10-981-3983-4, 9781098139834
- Data wydania ebooka:
- 2023-04-28 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 3.2MB
- Rozmiar pliku Mobi:
- 8.4MB
Spis treści ebooka
- Preface
- Structure of the Book
- Conventions Used in This Book
- Using Code Examples
- OReilly 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
- Constructors with Prototypes
- The Module Pattern
- Object Literals
- The Module Pattern
- Privacy
- History
- Examples
- Module Pattern Variations
- Import Mixins
- Exports
- Advantages
- Disadvantages
- Modern Module Pattern with WeakMap
- Modules with Modern Libraries
- The Revealing Module Pattern
- Advantages
- Disadvantages
- The Singleton Pattern
- 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
- Duck punching implements
- Converting Code to Use the Flyweight Pattern
- A Basic Factory
- 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
- An example Publish/Subscribe implementation
- Using our implementation
- UI notifications
- Decoupling applications using Ben Almans Pub/Sub implementation
- Decoupling an Ajax-based jQuery application
- Observer pattern in the React ecosystem
- The Mediator Pattern
- A Simple Mediator
- Similarities and Differences
- Events
- Third-party objects
- Relationships: When to use which
- Event Aggregator Use
- Mediator Use
- Event Aggregator (Pub/Sub) and Mediator Together
- Mediator/Middleware in Modern JavaScript
- Mediator Versus Facade
- The Command Pattern
- Summary
- 8. JavaScript MV* Patterns
- MVC
- Smalltalk-80 MVC
- MVC
- MVC for JavaScript Developers
- Models
- Views
- Templating
- Controllers
- What Does MVC Give Us?
- Smalltalk-80 MVC in JavaScript
- Summary of MVC
- MVP
- Models, Views, and Presenters
- MVP or MVC?
- MVVM
- History
- Model
- View
- ViewModel
- Recap: The View and the ViewModel
- ViewModel Versus Model
- Pros and Cons
- Advantages
- Disadvantages
- MVC Versus MVP Versus MVVM
- Modern MV* Patterns
- MV* and React.js
- Summary
- 9. Asynchronous Programming Patterns
- Asynchronous Programming
- Background
- Promise Patterns
- Promise Chaining
- Promise Error Handling
- Promise Parallelism
- Promise Sequential Execution
- Promise Memoization
- Promise Pipeline
- Promise Retry
- Promise Decorator
- Promise Race
- async/await Patterns
- async Function Composition
- async Iteration
- async Error Handling
- async Parallelism
- async Sequential Execution
- async Memoization
- async Event Handling
- async/await Pipeline
- async Retry
- async/await Decorator
- Additional Practical Examples
- Making an HTTP Request
- Reading a File from the Filesystem
- Writing to a File on the Filesystem
- Executing Multiple async Operations
- Executing Multiple async Operations in Sequence
- Caching the Result of an async Operation
- Handling Events with async/await
- Retrying an async Operation on Failure
- Creating an async/await Decorator
- Summary
- 10. Modular JavaScript Design Patterns
- A Note on Script Loaders
- AMD
- Getting Started with Modules
- AMD Modules with jQuery
- Registering jQuery as an async-compatible module
- Why was AMD a better choice for writing modular JavaScript?
- Related reading for AMD
- Script loaders and frameworks that support AMD
- AMD Conclusions
- CommonJS
- Getting Started
- Consuming Multiple Dependencies
- CommonJS in Node.js
- Is CommonJS Suitable for the Browser?
- Related Reading for CommonJS
- AMD and CommonJS: Competing, but Equally Valid Standards
- UMD: AMD and CommonJS-Compatible Modules for Plug-ins
- Basic AMD hybrid format
- Using CommonJS, AMD, or browser globals to create a module
- jQuery plug-ins that function in all environments
- Related reading for UMD and AMD
- UMD: AMD and CommonJS-Compatible Modules for Plug-ins
- Summary
- 11. Namespacing Patterns
- Namespacing Fundamentals
- Single Global Variables
- Prefix Namespacing
- Object Literal Notation
- Nested Namespacing
- Immediately Invoked Function Expressions
- Namespace Injection
- Advanced Namespacing Patterns
- Automating Nested Namespacing
- Dependency Declaration Pattern
- Deep Object Extension
- Recommendation
- Summary
- 12. React.js Design Patterns
- An Introduction to React
- Terminology Used
- Basic Concepts
- An Introduction to React
- Higher-Order Components
- Composing
- Pros
- Cons
- Render Props Pattern
- Lifting State
- Children as a Function
- Pros
- Cons
- Hooks Pattern
- Class Components
- Restructuring
- Complexity
- Hooks
- State Hook
- Effect Hook
- Custom Hooks
- Additional Hooks Guidance
- Pros and Cons of Using Hooks
- React Hooks Versus Classes
- Static Import
- Dynamic Import
- Loadable Components
- Import on Interaction
- Import on Visibility
- Code-Splitting
- Route-based Splitting
- Bundle Splitting
- PRPL Pattern
- Loading Prioritization
- Preload in Single-Page Apps
- Preload + the async Hack
- Preload in Chrome 95+
- List Virtualization
- How Does Windowing/Virtualization Work?
- Lists
- Grid
- Improvements in the Web Platform
- Conclusions
- Summary
- 13. Rendering Patterns
- Importance of Rendering Patterns
- Client-Side Rendering
- Server-Side Rendering
- Static Rendering
- Incremental Static Regeneration
- On-Demand ISR
- Summary of Static Rendering
- Streaming SSR
- Edge SSR
- Hybrid Rendering
- Progressive Hydration
- Islands Architecture
- Implementing Islands
- Pros and Cons
- React Server Components
- Hybrid Rendering with RSC and the Next.js App Router
- Summary
- 14. Application Structure for React.js
- Introduction
- Group by Module, Feature, or Route
- Group by File Type
- Hybrid Grouping Based on Domain and Common Components
- Introduction
- Application Structure for Modern React Features
- Redux
- Containers
- Hooks
- Styled Components
- Other Best Practices
- Application Structure for Next.js Apps
- Summary
- 15. Conclusions
- A. References
- Index
O'Reilly Media - inne książki
-
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
169.14 zł
199.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
152.15 zł
179.00 zł(-15%) -
What will you learn from this book?If you're a software developer looking for a quick on-ramp to software architecture, this handy guide is a great place to start. From the authors of Fundamentals of Software Architecture, Head First Software Architecture teaches you how to think architecturally ...(245.65 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
119.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(245.65 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this JavaScript library, including JSX syntax and advanced patterns, the virtual DOM, React reconc...(194.65 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: Learning JavaScript Design Patterns. 2nd Edition Addy Osmani (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.