2023-03-08 21:19:43

The process of identifying bounded contexts and their relationships to one another.

Take into consideration the following when identifying bounded contexts:

  • Identify core domain concepts. For example Customer.
    • Look at API paths for patterns in how they are grouped or the language used. Use Swagger to help with this.
    • Identify strongly related functionality and data in the backend API or data model.
    • Look at the user interface. The navigation menu can give clues for core concepts that could translate into bounded contexts.
    • The user interface can also provide sub-concepts.
    • User permissions and user groups may also give clues about core concepts.
    • Look for parent-child relationships within the database. An entity with many children could be a good candidate for a core concept.
    • A sub-concept that keeps reappearing under core concepts should be promoted to a core concept.
  • Group interaction points around the core concepts
    • Group interaction points around core concepts
    • Group remaining data and functions around core concepts
    • Overlapping sub-concepts, duplicate or promote to a core concept

Groupings of concepts and sub-concepts become capabilities. Capabilities become microservices.

Copyright © 2024 delaney. All rights reserved.