How do you see data? table, entity or domain model?
Frans Bouma gives a clear presentation of three different ways to see data from an application developer's perspective
. It helps to know where you are, and what the alternatives are.
The three approaches are:
- table approach
- entity (Chen/Yourdon) approach
- domain model (Fowler/Evans) approach
I tend to use the entity approach (2), which is most of the time more SOA friendly.