Aggregate Pattern

Aggregate Pattern

Aggregates are a design pattern that play a big role in domain-driven development. In many systems, the relationships between entities can become so interwoven that attempting to eager-load an entity and all of its related entities from persistence results in … Continued
Entity

Entity

An Entity is an object that has some intrinsic identity, apart from the rest of its state. Even if its properties are the same as another instance of the same type, it remains distinct because of its unique identity. As … Continued
Null Object Pattern

Null Object Pattern

The Null Object Pattern was described in the Gang of Four’s Design Patterns book. The intent of this pattern is to reduce the need to add checks and special behavior for handling null instances of certain variables that tend to … Continued