← Graph

Domain Service

concept 3 connections

Concept from Eric Evans' Domain-Driven Design book, cited as the closest DDD analogue to the Rails 'service object'. Key properties: stateless (take arguments, do work, return); named for an activity rather than an entity; represent a significant business domain process or operation; distinct from Technical Services; typically have side effects (or at least are expected to have them unless guarded by a condition). Ivan combines these rules with Fowler's Service Layer properties and Robert Martin's notes to build a 'service ruler' for evaluating real-world Rails service objects — and finds none fully comply.

category
pattern
about
Domain Service concept
Talk analyzes Evans' Domain Service as a source for the 'service ruler'.
about
Domain Service concept
Takeaway compares real service objects to Evans' Domain Service criteria.
concept Domain Service
related_to
Domain Service is defined in Evans' DDD book.

Provenance

Read by
2 extractions