I want to completely separate data layer
from the UI Layer
. Here is my example, I have some customers that require different data for the same report and I don't wan the UI
to touch the Data Layer
, so I am assuming I need some "thing" in between the Data Layer
and the UI
. Basically, the UI
would call some "thing" and that "thing" would call the Data layer
and then the data layer
would retrieve data based on the user and pass it back to the "thing" and the "thing" would pass back the data to the UI
.
I don't know what this "Thing" should be?
I have heard some terms passed around like Model, using an Object Mapper, but not sure if these are relevant.