Anemic domain model

An anti-pattern where the domain objects have hardly any behavior. Frequently they are just data holders with getter/setter access and the logic completely lives in services on top of the domain objects. This is contrary to the essence of object-oriented design which is to combine data and behavior together.

This anti-pattern is really a procedural design in disguise. It has the cost of a good domain model but none of the benefits. Read more about it here.

Bounded context

A bounded context is a pattern of the strategic design aspect of the DDD which is about dealing with large models and teams. Large models are divided into different bounded contexts and are being explicit about their interrelationships.


The Command Query Responsibility Segregation (CQRS) pattern is a notion that a different model can be used to update information (command model) than the model used for reading information (query model).


A sphere of knowledge, influence or activity. The subject area to which the user applies a program is the domain of the software. The domain is completely agnostic of the application logic.

Domain-Driven Design

An approach to the development of complex software adding on OOP to allow designers to concentrate on Business concerns rather than infrastructure ones.


An abstraction (eg. class diagram, mind map, plain text) that describes a domain and can be used to solve problems related to that domain.


In a security context, a principal is a defining characteristic of a subject that can be uniquely identified, like an identifier, a name, a social-security number, a language, etc…


Service Provider Interface (SPI) is an API intended to be implemented or extended by a third party. It can be used to enable framework extension and replaceable components. SeedStack provides numerous SPI, allowing the developer to extend its capabilities and behaviors when needed. In SeedStack, all SPI live in a specific subpackage named *.spi.

Strategic design

Strategic Design is a set of principles for maintaining model integrity, distillation of the Domain Model and working with multiple models.

Ubiquitous Language

Common, rigorous language build up between developers and domain experts. This language should be based on the Domain Model used in the software. It should evolve as the team’s understanding of the domain grows.

Value object

Objects holding related values and defined by them. They have no identity, meaning that two value objects holding the same values are equals. They should be immutable.

On this page