Tagged articles

Domain Services

2 articles · Page 1 of 1
samdeepthink
samdeepthink
Jul 17, 2026 · Backend Development

When to Apply Domain Services in DDD: Finding the Right Place for Business Logic

The article explains that domain services are not optional in DDD but become necessary when aggregate roots cannot contain certain business rules, such as those requiring external data, batch processing, or rules that don’t belong to a single aggregate, and outlines principles for their proper use.

Anti-Corruption LayerApplication ServiceDDD
0 likes · 5 min read
When to Apply Domain Services in DDD: Finding the Right Place for Business Logic
ITPUB
ITPUB
Nov 28, 2022 · Backend Development

When Should You Use Domain Services in Go? A Practical DDD Guide

This article explains the role of domain services in Go‑based Domain‑Driven Design, outlines three situations where they are appropriate, shows how to implement them statelessly, recommends functional package organization, and demonstrates dependency inversion with interfaces and infrastructure implementations.

Backend ArchitectureDDDDomain Services
0 likes · 13 min read
When Should You Use Domain Services in Go? A Practical DDD Guide