Skip to content

Commit

Permalink
feat: ddd intro
Browse files Browse the repository at this point in the history
  • Loading branch information
fadyat committed Sep 30, 2023
1 parent d2d526e commit 008237e
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 1 deletion.
Binary file added courses/itmo-software-design/docs/ddd/bc.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added courses/itmo-software-design/docs/ddd/ddd.jpeg
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.
42 changes: 41 additions & 1 deletion courses/itmo-software-design/domain-driven-design.md
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.

0 comments on commit 008237e

Please sign in to comment.