Domain Architecture
Kind: category
Record: architecture-category:domain-architecture
Canonical: Ontology
The Domain Architecture category holds 10 architecture principles.
Listed in Principle categories, after Anti-patterns and before Runtime Discovery / Dynamic Binding.
Principle
- Domain-Driven Design (DDD)
- Domain Model
- Bounded Context
- Context Mapping
- Anti-Corruption Layer
- Explicit Boundaries
- Aggregate
- Value Object
- Entity
- Domain Service
Layer
Linked from
Domain Architecture
Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.
Relations diagram
flowchart LR
n_domain_driven_design["Domain-Driven Design (DDD)"]
n_domain_model["Domain Model"]
n_bounded_context["Bounded Context"]
n_context_mapping["Context Mapping"]
n_anti_corruption_layer["Anti-Corruption Layer"]
n_explicit_boundaries["Explicit Boundaries"]
n_aggregate["Aggregate"]
n_value_object["Value Object"]
n_entity["Entity"]
n_domain_service["Domain Service"]
n_domain_driven_design --> n_bounded_context
n_domain_driven_design --> n_domain_model
n_bounded_context --> n_explicit_boundaries
n_bounded_context --> n_context_mapping
n_context_mapping --> n_bounded_context
n_context_mapping --> n_explicit_boundaries
n_context_mapping --> n_anti_corruption_layer
n_aggregate --> n_explicit_boundaries
n_entity --> n_domain_model
n_entity -.-> n_value_object
n_domain_service --> n_domain_model
n_domain_service -.-> n_aggregateDomain-Driven Design (DDD)
- Kind: style
- Category: Domain Architecture
- Severity: contextual
- Scope: domain, bounded context, system
- Aliases: DDD
- Layer: Domain Modeling
Domain Model
- Kind: artifact
- Category: Domain Architecture
- Severity: contextual
- Scope: domain, bounded context
- Layer: Domain Modeling
Bounded Context
- Kind: constraint
- Category: Domain Architecture
- Severity: recommended
- Scope: domain, service, team
- Layer: Domain Modeling
Context Mapping
- Kind: activity
- Category: Domain Architecture
- Severity: recommended
- Scope: bounded contexts, integration
- Layer: Domain Modeling
Anti-Corruption Layer
- Kind: pattern
- Category: Domain Architecture
- Severity: recommended
- Scope: integration, bounded context boundary
- Layer: Domain Modeling
Explicit Boundaries
- Kind: principle
- Category: Domain Architecture
- Severity: mandatory
- Scope: module, component, service, domain
- Layer: Domain Modeling
Aggregate
- Kind: pattern
- Category: Domain Architecture
- Severity: contextual
- Scope: domain, consistency boundary, bounded context
- Layer: Domain Modeling
Value Object
- Kind: pattern
- Category: Domain Architecture
- Severity: recommended
- Scope: domain, modeling, immutability
- Layer: Domain Modeling
Entity
- Kind: pattern
- Category: Domain Architecture
- Severity: contextual
- Scope: domain, identity, lifecycle
- Layer: Domain Modeling
Domain Service
- Kind: pattern
- Category: Domain Architecture
- Severity: contextual
- Scope: domain, behavior, coordination
- Layer: Domain Modeling