The "One-Way" Mapping Strategy
Learn about the "one-way" mapping strategy and when and how to use it.
We'll cover the following...
There is yet another mapping strategy with another set of pros and cons: the “One-Way” strategy, which is shown in the figure below.
One-way mapping
In this strategy, the models in all layers implement the same interface that encapsulates the state of the domain model by providing getter methods on the relevant attributes.
Domain
The domain model itself can implement a rich behavior, which we ...