integrating bounded contexts - mini-workshop

16
INTEGRATING BOUNDED CONTEXTS Mini-workshop

Upload: matthiasnoback

Post on 18-Jan-2017

53 views

Category:

Software


1 download

TRANSCRIPT

INTEGRATING BOUNDED CONTEXTSMini-workshop

THE DOMAIN == THE PROBLEM SPACE

➤ Domain is divided into subdomains:

➤ Core domain

➤ Supporting subdomain(s)

➤ Generic subdomain(s)

BOUNDED CONTEXTS == THE SOLUTION SPACE

➤ Think “application” instead

➤ Ideally, a bounded context models no more than one subdomain

subdomain

bounded context

ORGANIZATIONAL & INTEGRATION PATTERNS

PARTNERSHIP

➤ Succeed or fail together.

SHARED KERNEL

➤ Share part of the model.

CUSTOMER-SUPPLIER

➤ Upstream-downstream relationship.

CONFORMIST

➤ Same as customer-development, but without cooperation.

ANTICORRUPTION LAYER

➤ Provide functionality of the upstream system in terms of your own model.

OPEN HOST SERVICE

➤ There is a (generic) service which can be used by other bounded contexts.

PUBLISHED LANGUAGE

➤ A well-documented, shared language, to allow for translation between models from different contexts.

SEPARATE WAYS

➤ A bounded context has no relation with other contexts.

BIG BALL OF MUD

➤ When models aren’t clearly separated by context boundaries.