-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,41 @@ | ||
# todo | ||
### Domain Driven Design | ||
|
||
DDD is an approach to designing systems, usually software, that emphasises creating a common | ||
language between domain experts and system builders. | ||
|
||
![](./docs/ddd/ddd.jpeg) | ||
|
||
> It's a way of thinking about software development that focuses on the business | ||
> problem being solved and the domain of the business problem. | ||
> | ||
> It's not a technology or a methodology. It's a way of thinking about how you build and | ||
> design your software. | ||
> | ||
> - Eric Evans | ||
**Domain** - an area of interest or an area over which a person has control. | ||
> A domain is an arbitrary boundary around some subset of concepts in the universe. | ||
> | ||
> They are subjective and aren't mutually exclusive. | ||
![](./docs/ddd/domains.webp) | ||
|
||
When modelling systems we have to choose the most appropriate domain boundaries with which to align our software and organisational boundaries. | ||
|
||
**Subdomain** - a domain within a larger domain. | ||
|
||
**Ubitiquitous Language** - a language structured around the domain model and used by | ||
all team members to connect all the activities of the team with the software. | ||
|
||
![](./docs/ddd/ubiquitous-language.png) | ||
|
||
**Bounded Context** - distinct area within a business domain where concepts, language and | ||
rules are clearly defined and consistent. | ||
|
||
![](./docs/ddd/bc.jpeg) | ||
|
||
> Ideal way: when single subdomain matches a single bounded context. | ||
> | ||
> But still can have multiple bounded contexts within a single subdomain. | ||
|