datadmapper
Datadmapper is a software concept and, in some ecosystems, a library that implements the Data Mapper design pattern. It provides a persistence-ignorant domain model while a separate set of mapper objects handles translation between in-memory objects and a persistent store, such as a relational database.
In a datadmapper-based architecture, domain models contain business logic but no persistence concerns. Mappers or repositories
Key features include identity mapping (one domain object per database identity), change tracking, and often support
Datadmapper is typically chosen when domain models should remain independent of storage details, when multiple data
The Data Mapper concept was popularized by Martin Fowler and remains a core pattern in enterprise architectures.