Discover Bounded Contexts Through Change Patterns

So far we’ve used change coupling to uncover potential problems, but the analysis has a broader use as well. Since a change coupling analysis highlights the change patterns of the developers working on the code, we can use the resulting information to suggest bounded contexts.

Bounded context is a pattern from domain-driven design (DDD) where multiple context-specific models are preferred over a global, shared data model. (See Domain-Driven Design: Tackling Complexity in the Heart of Software [Eva03] for an in-depth introduction.) Each such context-specific model—a bounded context—is tailored to express a particular domain concept based on where it is used. The pattern is best appreciated when ...

Get Software Design X-Rays now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.