Business logic expresses the rules and decisions that define an application’s behavior. Keep business-rule decisions in the domain entity or handler, where frameworks and infrastructure cannot take ownership of them. section 1.6 section 2.3.2
To find logic that belongs in the domain, ask what must survive if framework dependencies are removed. Extract those rules into a framework-free package; avoid entities that hold only data and cannot enforce their own invariants. section 2.4.1
Article validity
Rules for what makes an article valid, whether an author exists, or whether a title is duplicated belong in a domain entity or handler—not in a controller or persistence callback. section 2.3.2 section 2.4.1














