Learn CML¶
Context Mapper Language (CML) is a DSL created by the Context Mapper project to model end-to-end Domain-Driven Design (DDD), from strategic vision to tactical implementation.
Introduction¶
This guide will take you through the main components of CML. The complete reference is available in the official Language Reference.
Language Structure¶
CML allows you to describe three valid modeling levels:
- Strategic DDD: Context Maps, Domains, Subdomains, and Bounded Contexts.
- Requirements Analysis: Use Cases, User Stories, and Stakeholders.
- Tactical DDD: Aggregates, Entities, Services, Events, etc.
- Application Layer: Commands, Flows, and Coordination.
Continue to the next section to start with Strategic DDD.