Create your own awesome maps

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account?
Log In

DDD by Mind Map: DDD
0.0 stars - reviews range from 0 to 5

DDD

Entity

An Entity is an object fundamentally defined not by its attributes, but by a thread of continuity and identity.

Has an identity

Contains value objects

May contain other entities

Value Object

A Value Object is an object that describes some characteristic or attribute but carries no concept of identity.

Has NO identity

Is only defined by it's attributes

Aggregate

A cluster of associated objects that are treated as a unit for the purpose of data changes. A set of consistency rules applies within the Aggregate's boundaries.

Is a cluster of associated entities

Has a set of consistency rules

Changes are done in a single transaction

Objects within the Aggregate can hold references to other Aggregate roots

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

Aggregate Root

External references are restricted to one member of the Aggregate, designated as the root.

Is an entity with a global identity

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

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).

Only methods of this object may be called from outside

Service

A Service is a collection of functions with no encapsulated state.

Function

An operation that computes and returns a result without observable side effects.

Computes and returns a result

Is stateless

Has no side effects

Is stateless

Is a collection of functions

Has no side effects

Ubiquitous 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.

Expresses business concepts

Only language used to express a model

Bounded Context

The delimited applicability of a particular model. BOUNDING CONTEXTS gives team members a clear and shared understanding of what has to be consistent and what can develop independently.

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

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

Encompasses the module

Logical frame in which the model evolves

Domain Event

An event in the domain that may lead to state change of a domain object. Also events that the domain experts want to track or be notified of.

Is immutable

May lead to state change of a domain object

Module

Partitions a model