Architecture

Sometimes a new Bounded Context or existing ones that interact through Context Mapping will need to take on a new style of Architecture (4). It’s important to keep in mind that your strategically and tactically designed domain models should be architecturally neutral. Still, there will need to be some architecture around and between each model. A powerful architectural style for hosting a Bounded Context is Hexagonal, which can be used to facilitate other styles such as Service-Oriented, REST and Event-Driven, and others. Figure G.3 depicts a Hexagonal Architecture, and while it may look a little busy, it’s a fairly simplistic style to employ.

Figure G.3. The Hexagonal Architecture with the domain model at the heart of the software ...

Get Implementing Domain-Driven Design 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.