~/talk

CQRS, DDD and GraphQL, a perfect fit

Talkat Build Stuff 2024 · 2024-11-13..11-15· [software-architecture, graphql]
slides:none on file

Claims that CQRS + DDD + GraphQL form a practical stack and shows a runnable webshop: GraphQL (using Hot Chocolate and the Nitro IDE) sits as the presentation layer exposing a ubiquitous schema, business rules move into domain entities, reads and writes split into Mediator-handled commands and queries so each is independently testable, and data fetching uses a data loader that batches requests. Implementation details include abstracting Entity Framework with a unit‑of‑work repository, using keyset pagination, mutations returning a read model (remove-stock returns the updated product or a transaction ID for subscription-driven eventual consistency). Nine demos are prepared, four are shown.

AI-written summary · about

  1. 0:00🚀 Welcome and Introduction
  2. 1:30The Power of GraphQL in Business Layer Design
  3. 3:00Facebook’s Design Decisions Behind GraphQL
  4. 5:30The Data Loader Pattern in GraphQL
  5. 8:00Key Pagination and Performance Considerations
  6. 10:00Building Software That Lasts – Clean Architecture
  7. 12:30Separation of Concerns and Layered Architecture
  8. 15:00Understanding the Domain Layer and Business Rules
  9. 17:00Introduction to CQRS and its Role in Scalability
  10. 19:00Mutations and Queries in GraphQL
  11. 21:00Designing for Eventual Consistency in GraphQL
  12. 24:00How CQRS Enhances GraphQL Operations
  13. 26:30Domain-Driven Design (DDD) and its Application in GraphQL
  14. 29:00Mapping Entities and Value Objects to GraphQL Schema
  15. 31:00Making Business Logic Testable and Maintainable with DDD
  16. 33:00How to Organize Your GraphQL API with CQRS and DDD
  17. 36:00Demonstrating CQRS, DDD, and GraphQL in Practice
  18. 38:00The Importance of Testability and Maintainability
  19. 40:00Scaling and Evolving Your Software Over Time with CQRS
  20. 42:00Final Thoughts on DDD, CQRS, and GraphQL
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.