February 15, 2017 at 9:04 am
#10021
I agree on Sten’s approach. I see Objects and Tables as two different layers: Objects are a high level layer that should know nothing about the repository you use (database, file…); Tables should access the repository as DAOs.
As for Object References, they are mandatory as soon as you try to apply some modern Design Pattern to your applications (Factory classes, MVC, State pattern…).