Member-only story

Aligning Business Sub-Domains and Modeling a Universal Language

Rafael A. George Duval
2 min readFeb 21, 2023

--

A bounded context is a business domain, in the broad sense, is what an organization does and the world it does it in. A bounded context is a complete, well-defined business domain model. Bounded contexts are data and code. When using DDD, the goal is to create a Bounded Context. It is a desirable goal to align business sub-domains or departments one-to-one with Bounded Contexts.

At the implementation, level bounded contexts are deployable units of the software. In Ruby, a Bounded context might be a gem. The internal structure of the gem can be defined with namespaces. e.g., `Sales,` `Marketing.`

Not supporting business sub-domains pushes the system’s architecture towards a random structure. Bounded context exposes concepts from a single domain.

Where `Finance` refers to the stakeholder or group of stakeholders who are getting the value from the solution. In this context, actors represent stakeholders or users from the real world. These Actors direct change. We want to partition the system so that a shift in one actor does not affect the other.

Finance::Orders

Where `Finance` refers to the stakeholder or group of stakeholders who are getting the value from the solution. Still, we needed to have some model for that in our…

--

--

Rafael A. George Duval
Rafael A. George Duval

Written by Rafael A. George Duval

✍🏼 Building a Solo Digital Media Company 🧪 Snippets of Text [https://snippetsoftext.substack.com/subscribe]

No responses yet