Re: Mixing OO and DB
Date: Sun, 16 Mar 2008 07:02:22 GMT
Message-ID: <2C3Dj.23356$0w.20300_at_newssvr27.news.prodigy.net>
"David Cressey" <cressey73_at_verizon.net> wrote in message
news:%uOBj.6285$e52.3967_at_trndny01...
>
> "Brian Selzer" <brian_at_selzer-software.com> wrote in message
> news:XDCBj.22735$R84.448_at_newssvr25.news.prodigy.net...
>
>> I'll buy that a schema can be part of multiple applications, but that
> there
>> can be multiple ways to represent the same information does not alter
>> what
>> information is to be and can be recorded. I can represent a point in
> space
>> by using Cartesian coordinates or by using polar coordinates, but it is
>> still the same point; in the same way, schemata are equivalent if exactly
>> the same information that can be represented in a database with one
>> schema
>> can be represented in a database with another schema. Equivalent
>> schemata
>> can be derived from one another, relegating whether any particular
> relation
>> is a base relation or a derived relation to being an implementation
> matter.
>> But what is important and what cannot be decoupled from the application
>> is
>> what information is to be and can be recorded. That is what a schema
>> specifies, and without that there is no point in even having an
> application.
>
> This is true, but it overlooks an important consideration. When multiple
> applications manipulate or retrieve data in a database, each application
> typically interacts with only part of the schema. To the application, it
> appears as if the subschema that it interacts with were the entire schema.
>
Maybe that's what's lacking in OOP.
> In fact, it's an oversimplification to say that the schema is "part of"
> multiple applications.
>
I see your point. I'm not sure I agree. An application can have access to
the entire database even if it only interacts with part of the database.
>
I think that there is only ever one database. There's nothing that says
that there can't be two separate disjoint sets of relations in the same
database. What appears from one perspective to be multiple databases, can
> An analogous thing happens when a single application interacts with
> multiple
> databases.
>
>
>
Received on Sun Mar 16 2008 - 08:02:22 CET