strategic Flashcards
what is a domain
a specified sphere of activity or knowledge
what are types of subdomain
core, supporting and generic
which spaces are considered in DDD
problem space and solution space
what is a bounded context
it is a distinct part of the domain when a subset or dialect of an ubiquitous language is consistent at all time
what is upstream and downstream context
consider a river, upstream comes first and then the downstream, if you walk along the bank of the river
what is context map patterns
context map depicts the way upstream and downstream interacts
what are the variety of patterns available
upstream, in-between and downstream patterns
what are upstream patterns
open host pattern and event publisher pattern
what is open host service
upstream exposes well defined REST/SOAP services for many downstream contexts to consume
what is event publisher
upstream bounded context publishes domain event for downstream bounded contexts to consume/subscribe
what are the downstream patterns
customer/supplier, conformist, anti-corruption layer
what is customer/supplier pattern
when the downstream system is a consumer of upstream system which is supplier of domain model or events; the upstream system holds veto right to be able to negotiate with the downstream consumer
what is conformist pattern
conformist is a pattern where the downstream dictates or conforms about how the upstream system should supply domain model or event
what is anticorruption layer pattern
when the model supplied by upstream is unusable by downstream, a layer in built at downstream end, to translate to an usable version of the model
what are in between patterns
shared kernel, published language and separate ways