Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

πŸ€– Artificial Intelligence
☁️ Cloud and Infrastructure
πŸ’Ύ Data and Databases
πŸ’Ό Professional Skills
🎯 Programming and Development
πŸ”’ Security and Networking
πŸ“š Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
Β© 2026 CheatGridβ„’. All rights reserved.
Privacy PolicyTerms of UseAboutContact

Domain-Driven Design (DDD) Cheat Sheet

Domain-Driven Design (DDD) Cheat Sheet

Back to Software Engineering
Updated 2026-03-18
Next Topic: Event Sourcing Cheat Sheet

Domain-Driven Design is a software development methodology that tackles complexity by aligning software architecture with business domains through collaborative modeling. Introduced by Eric Evans in 2003, DDD provides both strategic patterns (bounded contexts, context mapping, ubiquitous language) for organizing large systems and tactical patterns (entities, aggregates, value objects, repositories) for implementing rich domain models. The core insight: complex business logic belongs in the domain layer, encapsulated within clearly defined boundaries that reflect how domain experts naturally think about and describe their work β€” making software not just functional, but maintainable and evolvable as business understanding deepens over time.

What This Cheat Sheet Covers

This topic spans 16 focused tables and 87 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Strategic Design β€” Subdomain TypesTable 2: Strategic Design β€” Bounded ContextsTable 3: Context Mapping PatternsTable 4: Tactical Design β€” Domain Building BlocksTable 5: Layered ArchitectureTable 6: Application Services & OrchestrationTable 7: CQRS & Event Sourcing IntegrationTable 8: Invariants & ValidationTable 9: Domain Modeling PatternsTable 10: Bounded Context CommunicationTable 11: Supple Design PrinciplesTable 12: Domain Discovery & ModelingTable 13: Core Domain DistillationTable 14: Refactoring Toward Deeper InsightTable 15: DDD With MicroservicesTable 16: Common DDD Pitfalls

Table 1: Strategic Design β€” Subdomain Types

PatternExampleDescription
Core Subdomain
E-commerce: recommendation engine
Amazon: fulfillment & logistics
β€’ Where competitive advantage lives
β€’ requires best developers and custom solutions since uniqueness defines business success.
Supporting Subdomain
E-commerce: inventory management
Bank: report generation
β€’ Necessary for business but not differentiating
β€’ can be built in-house using simpler approaches without complex domain modeling.

More in Software Engineering

  • Distributed Systems Core Concepts Cheat Sheet
  • Event Sourcing Cheat Sheet
  • _Dependency_Injection_Patterns
  • Database Migration Strategies for Development Teams Cheat Sheet
  • Modular Monolith Architecture Cheat Sheet
  • Software Engineering Cheat Sheet
View all 47 topics in Software Engineering