in reply to Design Question - I've gone object mad!
That alone is worth an upvote.
Personally I've found that modelling data objects (or real life objects) literally is less useful than I'd been taught as an OO whelp growing up.
Far more useful has been to model processes or semantics. i.e. what do you really DO with "Industry" rows? If you start with the literal model then you have to redesign the semantic layer on top of that anyway and you end up with nasty object interrelation soup that abstracts a simple sql statement.
Do you really have such breadth of real world operations on this data that you need universal 1:1 access to the database objects modeled as objects? (You may I suppose.)
That said, you may be committed to this course of action for one reason or another, which would make this "observational commentary" rather than a suggestion ;)
$0.01
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Design Question - I've gone object mad!
by Cagao (Monk) on Apr 06, 2011 at 08:48 UTC | |
by choroba (Cardinal) on Apr 06, 2011 at 09:37 UTC | |
by Cagao (Monk) on Apr 06, 2011 at 09:45 UTC | |
by Voronich (Hermit) on Apr 06, 2011 at 14:26 UTC | |
Re^2: Design Question - I've gone object mad!
by Cagao (Monk) on Apr 06, 2011 at 09:35 UTC | |
by Your Mother (Archbishop) on Apr 07, 2011 at 05:00 UTC | |
by Cagao (Monk) on Apr 07, 2011 at 08:16 UTC |