← Graph

Write Domain Code Free of Frameworks

takeaway 2 connections

Third pillar of DDD in Heimeshoff's 3-step model: after extracting the right model and expressing it in semantic code, secure that code from influence of any messaging/data/framework layer. No framework calls should appear inside domain code — push them to adapters on the outside (ports-and-adapters / hexagonal architecture).

type
recommendation
takeaway Write Domain Code Free of Frameworks
about
Implemented via ports-and-adapters.
takeaway Write Domain Code Free of Frameworks
from_talk
Third of Heimeshoff's three DDD steps.

Provenance

Read by
2 extractions