CQRS by Example Master CQRS
This course offers an in-depth exploration of the Command Query Responsibility Segregation (CQRS) pattern, a powerful architecture design that separates read and write operations to achieve greater scalability and performance in software systems. You'll begin by understanding the core principle...
Otros Autores: | , , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
[Place of publication not identified] :
Packt Publishing, Limited
[2024]
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009850437606719 |
Tabla de Contenidos:
- Intro
- Table of Contents
- Foreword by Marco Pivetta
- Preface
- Domain-Driven Design in PHP
- Domain-Driven Design Acceptance Has Rapidly Grown
- CQRS by Example
- Who Should Read This Book
- Summary of Chapters
- Code, Typos, and Examples
- Acknowledgements
- About the Authors
- Carlos Buenosvinos
- Christian Soronellas
- Keyvan Akbary
- CQRS and Domain-Driven Design
- What's All the Fuss About?
- Why Domain-Driven Design Matters
- The Three Pillars of Domain-Driven Design
- Considering Domain-Driven Design
- The Tricky Parts
- Wrapup
- A Journey Toward CQRS
- Introducing Cheeper, a Twitter Clone
- Architectural Styles
- A Brief Analysis
- Potential Limitations of Hexagonal Architecture
- Wrapup
- Anatomy of CQRS
- Cheeper Use Case Analysis
- Cheeper à la CQRS
- CQRS Overview
- Other CQRS Components
- Two Sides of the Same Coin
- The Command Side
- The Query Side
- Syncing the Command and Query Sides
- Wrapup
- Command Side and the Write Model
- Commands
- Command Handlers
- Command Bus
- Putting It All Together
- Wrapup
- Query Side and the Read Models
- Queries
- Query Handlers
- Query Bus
- Putting It All Together
- Wrapup
- Synchronizing the Write and the Read Models
- Multiple Read Models
- Synchronization Strategies
- Wrapup
- The Full Picture
- The Timeline Use Case
- Posting a Cheep
- Command
- Command Bus
- Command Handler
- Domain Event
- Event Bus
- Event Handler
- Projection
- Projection Bus
- Projection Handler
- Fetching the Timeline
- Query
- Query Bus
- Query Handler
- Wrapup
- Optimizations and Edge Cases
- Relying on Multiple Read Models
- Incremental Projections
- Race Conditions
- Trouble with Events
- Duplicated Messages
- Missing Events
- Dealing with Inconsistencies
- Wrapup
- CQRS and Event Sourcing
- CQRS' Biggest Challenge.
- Recreating State from Past Events
- Introducing the Event Store
- Changes in Repositories
- Changes in Entities or Aggregates
- Changes in Projections
- Event Sourcing Tradeoffs
- Wrapup
- Demo Time
- Getting Started
- Starting the Application
- Nothing Up My Sleeve
- Signing Up New Authors
- Consuming NewAuthorSigned Events
- Following Other Authors
- Consuming FollowCommand Commands
- Verifying an Author's Followers
- Consuming AuthorFollowed Events
- Posting Cheeps
- Consuming PostCheepCommand Commands
- Consuming CheepPosted Events
- Consuming AddCheepToTimelineProjection Projections
- Verifying an Author's Timeline
- Wrapup
- The End
- Bibliography
- Blank Page.