Summary
There are a lot of options available for data access mechanisms and processes, and while there will occasionally be requirements in play that more or less mandate one of them over the others, there may not be a single right approach across all development efforts. In particular, if time is of the essence, looking for an off-the-shelf solution is probably a good place to start, but if requirements or other constraints don't allow for one of those to be easily applied, creating a custom solution is not out of the question either.
The logical starting point, before getting into the weeds with specific data storage mechanisms, is probably to define the abstraction layer over the collective data access needs— that is, defining the BaseDataObject ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access