Re: Just one more anecdote
Date: Fri, 05 Aug 2005 23:08:02 +0200
Message-ID: <fij7f1h7cq2sao7apgft8nvs4kclmp78i6_at_4ax.com>
On Thu, 04 Aug 2005 18:24:42 -0400, Kenneth Downs wrote:
(snip)
>So if you mean that the final built database will express all constraints
>from the ORM, we probably are in agreement on the goal here and can drop
>this line.
(snip)
>> I'm not sure if I interpret you correctly. If you propose to add some
>> symbols, notes, or whatever to the tables you've drawn to show the
>> constraints that are not available as standard constraints in SQL, then
>> this would indeed allow the entire application to be specified in terms
>> of tables (plus extra symbols and notes).
>
>Actually I mean calculated values or automated cascades into other tables.
(snip)
>Also this is why I say automation allows me to specify the entire
>application in terms of what goes into the tables, and as i find myself
>saying quite a bit lately, if I can do that, why do anything else?
>>>And finally of course is the general rule that one should never design
>>>tables on object-oriented principles, anymore than one designs women's
>>>clothing on male models.
>>
>> Despite it's name, I wouldn't qualify ORM as being object-oriented.
>
>As you've described it it sounds more like the UML class diagrams. In fact,
>it is getting dangerously close to mere table design :)
Guess I didn't describe it too well, than.
The method that I have been teaching, and that I still use whenever I can, is a variant of ORM, known as NIAM. It's solely about gathering the user requirements into a data model, with all constraints. And it uses concrete examples (presented to the user in a form that's familiar for the user) as a foundation for ALL decisions.
>But seriously, when the class diagrams or the ORM pictures can completely
>express the situation in terms of columns and tables, one wonders why we
>don't just specify the columns and tables.
I can't tell you why "we" don't, but I can say why "I" don't. The
reasons are (in no particular order):
(snip)
>Good luck with those students :)
Thanks. Unfortunately, the call for that type of education has plummeted some years ago (at least it has here in the Netherlands), so I had to find other things to do. I definitely wouldn't mind having a class to teach every now and then, but I don't think it will happen soon.
Best, Hugo
-- (Remove _NO_ and _SPAM_ to get my e-mail address)Received on Fri Aug 05 2005 - 23:08:02 CEST