Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: How to model searchable properties of an entity

Re: How to model searchable properties of an entity

From: Peter Koch Larsen <pklspam_at_mailme.dk>
Date: Tue, 24 Aug 2004 11:56:27 +0200
Message-ID: <ehEWc.40552$Vf.2092919@news000.worldonline.dk>

"Rene Hartmann" <rehartmann_at_t-online.de> skrev i en meddelelse news:Pine.LNX.4.33.0408172158220.2005-100000_at_linux.local...

I´m sory - somehow a line was deleted from my posting, so I fix it here:
>
> Seems that there is some psychological problem about it. OO
> Programmers feel good if they have all their data in a single "object", no
> matter how complex that objects is and of how many sub-objects it is
> composed of.

Well... that certainly depends on the programmer. In my opinion, an object should contain information about what the object is about and nothing else. This is quite the same thing as a relational normal form and leads to the same thing: one object becomes separated into several objects.

> To them, a row in a relational table is
> a kind of "object",

Again I believe you are wrong. To many of us a a row is more like the boost::tuple, and that name should ring a familiar bell to you.
> so they feel uncomfortable if data is spread over several rows.
> Joining these rows together appears a clumsy operation to
> them, though it's logically a simple operation and also not necessarily
> a slow one. (Though it may sometimes be slow in practice)

Kind regards
Peter

> --
> Rene´ Hartmann
Received on Tue Aug 24 2004 - 04:56:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US