Markdown Editor

Bộ mẫu Domain-Driven Design

Mô hình hóa miền: event storming, biểu đồ miền cốt lõi, bounded context, ngôn ngữ chung, luồng thông điệp, bản đồ context và nhóm, CQRS.

11 mẫu trong 4 bước, theo thứ tự sử dụng. Mở mẫu bất kỳ trong trình soạn thảo, điền nội dung rồi xuất ra PDF, DOCX hoặc HTML.

Bước 1

Khảo sát

  1. EventStorming Workshop Summary Template

    Chuẩn

    Record an EventStorming session: events timeline, commands, actors, policies, read models, hotspots, context candidates

    EventStorming (Alberto Brandolini)
  2. Core Domain Chart Template

    Chuẩn

    Core, supporting and generic classification: differentiation and complexity scores, quadrant chart, findings, expected movement, decisions

    DDD Crew Core Domain Charts; Domain-Driven Design (Evans)
  3. Wardley Map Template

    Đầy đủ

    Strategic question, users and needs, value chain, evolution assessment, quadrant map and map source, movement, inertia, options and gameplay, doctrine, decision, signposts

    Wardley Maps (Simon Wardley, concept names only)
Bước 2

Mô hình hóa miền

  1. Bounded Context Canvas Template (DDD Crew)

    Chuẩn

    Design one DDD bounded context: purpose, strategic classification, roles, inbound/outbound messages, language, rules, metrics

    Bounded Context Canvas V5 (DDD Crew); Domain-Driven Design (Evans)
  2. Ubiquitous Language Glossary Template (DDD)

    Gọn

    Glossary of domain terms per bounded context with synonyms to avoid, examples, code names, owners and change rules

    Domain-Driven Design (Evans)
  3. Domain Message Flow Template

    Chuẩn

    One scenario as numbered commands, events and queries between contexts: notation, sequence diagram, message register, checks, failure paths

    DDD Crew Domain Message Flow Modelling
Bước 3

Thiết kế

  1. DDD Context Map Template

    Chuẩn

    Map bounded contexts and their DDD relationships (ACL, OHS, conformist, shared kernel), team ties and evolution plan

    Domain-Driven Design context mapping patterns (Evans)
  2. Team Interaction Map Template (Team Topologies)

    Chuẩn

    Team types, interaction modes, cognitive load, as-is and target team diagrams, findings and a dated evolution plan

    Team Topologies, 2nd edition (2025), names only
  3. Team API Template (Team Topologies)

    Chuẩn

    A team's public interface: type, mission, owned services, versioning, channels, ways of working, roadmap, interaction modes

    Team Topologies Team API
Bước 4

Xây dựng

  1. Event Sourcing and CQRS Design Template

    Chuẩn

    Event-sourced service design: fit check, event catalogue, versioning and upcasting, store, projections, idempotency, crypto-shredding

    Event Sourcing (Fowler 2005); CQRS Documents (Young 2010); GDPR Art. 17 examples
  2. Microservice Specification Template (Service Canvas)

    Chuẩn

    Service canvas: bounded context, owner, APIs and events, data owned, dependencies, SLOs, scaling, config, deploy, observability

    Microservice Canvas (Richardson); OpenAPI 3.2.1; AsyncAPI 3.1.0; RFC 9745, RFC 8594