Get Started. It's Free
or sign up with your email address
Rocket clouds
DDD by Mind Map: DDD

1. Entity

1.1. Has an identity

1.2. Contains value objects

1.3. May contain other entities

2. Value Object

2.1. Has NO identity

2.2. Is only defined by it's attributes

3. Aggregate

3.1. Is a cluster of associated entities

3.2. Has a set of consistency rules

3.3. Changes are done in a single transaction

3.4. Objects within the Aggregate can hold references to other Aggregate roots

3.5. Entities inside the boundary have local identity, unique only within the Aggregate.

3.6. Aggregate Root

3.6.1. Is an entity with a global identity

3.6.2. External references to an aggregate root should be restricted to it's ID (No object references)

3.6.3. Can hand references to the internal Entities to other objects (outside the aggregate), but they can only use them transiently (within a single method or block).

3.6.4. Only methods of this object may be called from outside

4. Service

4.1. Function

4.1.1. Computes and returns a result

4.1.2. Is stateless

4.1.3. Has no side effects

4.2. Is stateless

4.3. Is a collection of functions

4.4. Has no side effects

5. Ubiquitous Language

5.1. Expresses business concepts

5.2. Only language used to express a model

6. Bounded Context

6.1. Describes what's included in the model and what's not

6.2. The setting in which a word or a statement appears that determines its meaning

6.3. Encompasses the module

6.4. Logical frame in which the model evolves

7. Domain Event

7.1. Is immutable

7.2. May lead to state change of a domain object

8. Module

8.1. Partitions a model