Tag Persistence Ignorance
Having the domain model separated from the persistence model
In this post, I’d like to write about a pretty common discussion in DDD circles: should one have the domain model separated from the persistence model? In other words, should you map your domain objects to the DB tables directly using an ORM or would it be better to use a separate set of Data Access Objects (DAOs) instead?
Link to an aggregate: reference or Id?
In this post, I write about 2 ways of representing a link to an aggregate.
1