Promptary
Backend ยท Domain Logic

Domain Logic developer concepts

Learn 42 Domain Logic concepts for Backend development, with definitions, aliases, and ready-to-use AI prompts.

Domain model

Domain model

Defines the domain model concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Domain model pattern, Domain Logic domain model, Domain model implementation
AI prompt
Implement production-ready Domain model for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Domain entity

Defines the domain entity concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Domain entity pattern, Domain Logic domain entity, Domain entity implementation
AI prompt
Implement production-ready Domain entity for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Value object

Defines the value object concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Value object pattern, Domain Logic value object, Value object implementation
AI prompt
Implement production-ready Value object for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Aggregate

Defines the aggregate concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Aggregate pattern, Domain Logic aggregate, Aggregate implementation
AI prompt
Implement production-ready Aggregate for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Aggregate root

Defines the aggregate root concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Aggregate root pattern, Domain Logic aggregate root, Aggregate root implementation
AI prompt
Implement production-ready Aggregate root for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Invariant

Defines the invariant concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Invariant pattern, Domain Logic invariant, Invariant implementation
AI prompt
Implement production-ready Invariant for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Domain service

Defines the domain service concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Domain service pattern, Domain Logic domain service, Domain service implementation
AI prompt
Implement production-ready Domain service for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Application service

Defines the application service concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Application service pattern, Domain Logic application service, Application service implementation
AI prompt
Implement production-ready Application service for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Domain event

Defines the domain event concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Domain event pattern, Domain Logic domain event, Domain event implementation
AI prompt
Implement production-ready Domain event for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Domain command

Defines the domain command concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Domain command pattern, Domain Logic domain command, Domain command implementation
AI prompt
Implement production-ready Domain command for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Domain query

Defines the domain query concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Domain query pattern, Domain Logic domain query, Domain query implementation
AI prompt
Implement production-ready Domain query for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Business rule

Defines the business rule concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Business rule pattern, Domain Logic business rule, Business rule implementation
AI prompt
Implement production-ready Business rule for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Policy object

Defines the policy object concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Policy object pattern, Domain Logic policy object, Policy object implementation
AI prompt
Implement production-ready Policy object for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Specification

Defines the specification concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Specification pattern, Domain Logic specification, Specification implementation
AI prompt
Implement production-ready Specification for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Factory

Defines the factory concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Factory pattern, Domain Logic factory, Factory implementation
AI prompt
Implement production-ready Factory for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Repository interface

Defines the repository interface concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Repository interface pattern, Domain Logic repository interface, Repository interface implementation
AI prompt
Implement production-ready Repository interface for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Domain exception

Defines the domain exception concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Domain exception pattern, Domain Logic domain exception, Domain exception implementation
AI prompt
Implement production-ready Domain exception for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Behavior & modeling

Ubiquitous language

Defines the ubiquitous language concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Ubiquitous language pattern, Domain Logic ubiquitous language, Ubiquitous language implementation
AI prompt
Implement production-ready Ubiquitous language for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Bounded context

Defines the bounded context concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Bounded context pattern, Domain Logic bounded context, Bounded context implementation
AI prompt
Implement production-ready Bounded context for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Context map

Defines the context map concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Context map pattern, Domain Logic context map, Context map implementation
AI prompt
Implement production-ready Context map for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Entity identity

Defines the entity identity concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Entity identity pattern, Domain Logic entity identity, Entity identity implementation
AI prompt
Implement production-ready Entity identity for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Value equality

Defines the value equality concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Value equality pattern, Domain Logic value equality, Value equality implementation
AI prompt
Implement production-ready Value equality for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Encapsulation

Defines the encapsulation concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Encapsulation pattern, Domain Logic encapsulation, Encapsulation implementation
AI prompt
Implement production-ready Encapsulation for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Tell-don't-ask

Defines the tell-don't-ask concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Tell-don't-ask pattern, Domain Logic tell-don't-ask, Tell-don't-ask implementation
AI prompt
Implement production-ready Tell-don't-ask for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Anemic domain model

Defines the anemic domain model concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Anemic domain model pattern, Domain Logic anemic domain model, Anemic domain model implementation
AI prompt
Implement production-ready Anemic domain model for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Rich domain model

Defines the rich domain model concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Rich domain model pattern, Domain Logic rich domain model, Rich domain model implementation
AI prompt
Implement production-ready Rich domain model for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

State machine

Defines the state machine concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
State machine pattern, Domain Logic state machine, State machine implementation
AI prompt
Implement production-ready State machine for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Decision table

Defines the decision table concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Decision table pattern, Domain Logic decision table, Decision table implementation
AI prompt
Implement production-ready Decision table for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Rules engine

Defines the rules engine concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Rules engine pattern, Domain Logic rules engine, Rules engine implementation
AI prompt
Implement production-ready Rules engine for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Money value

Defines the money value concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Money value pattern, Domain Logic money value, Money value implementation
AI prompt
Implement production-ready Money value for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Quantity value

Defines the quantity value concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Quantity value pattern, Domain Logic quantity value, Quantity value implementation
AI prompt
Implement production-ready Quantity value for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Temporal rule

Defines the temporal rule concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Temporal rule pattern, Domain Logic temporal rule, Temporal rule implementation
AI prompt
Implement production-ready Temporal rule for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Effective dating

Defines the effective dating concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Effective dating pattern, Domain Logic effective dating, Effective dating implementation
AI prompt
Implement production-ready Effective dating for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Audit rule

Defines the audit rule concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Audit rule pattern, Domain Logic audit rule, Audit rule implementation
AI prompt
Implement production-ready Audit rule for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Calculation service

Defines the calculation service concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Calculation service pattern, Domain Logic calculation service, Calculation service implementation
AI prompt
Implement production-ready Calculation service for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Approval rule

Defines the approval rule concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Approval rule pattern, Domain Logic approval rule, Approval rule implementation
AI prompt
Implement production-ready Approval rule for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Eligibility rule

Defines the eligibility rule concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Eligibility rule pattern, Domain Logic eligibility rule, Eligibility rule implementation
AI prompt
Implement production-ready Eligibility rule for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Pricing rule

Defines the pricing rule concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Pricing rule pattern, Domain Logic pricing rule, Pricing rule implementation
AI prompt
Implement production-ready Pricing rule for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Inventory allocation

Defines the inventory allocation concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Inventory allocation pattern, Domain Logic inventory allocation, Inventory allocation implementation
AI prompt
Implement production-ready Inventory allocation for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Reservation rule

Defines the reservation rule concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Reservation rule pattern, Domain Logic reservation rule, Reservation rule implementation
AI prompt
Implement production-ready Reservation rule for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Idempotent domain operation

Defines the idempotent domain operation concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Idempotent domain operation pattern, Domain Logic idempotent domain operation, Idempotent domain operation implementation
AI prompt
Implement production-ready Idempotent domain operation for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.

Compensating domain action

Defines the compensating domain action concept used in domain logic systems, with its contract, lifecycle, failure behavior, and operational boundaries.

Also known as
Compensating domain action pattern, Domain Logic compensating domain action, Compensating domain action implementation
AI prompt
Implement production-ready Compensating domain action for a backend system. Define the contract, validation, authorization, lifecycle, failure behavior, observability, concurrency and idempotency rules, performance limits, tests, rollout plan, and framework-neutral examples.