Re: Clean Object Class Design -- What is it?
Date: Sat, 21 Jul 2001 23:34:18 GMT
Message-ID: <9i6qni$ppl$06$1_at_news.t-online.com>
Bob Badour wrote:
> >How many objects are typically stored to one column?
>
> As many object instances as there are rows in the table.
How many objects would be stored to one column in one row? One single object? This approach can not even be used to store and restore a person and his address if both are objects in the programming language.
> >How does this mechanism
> >- restore relations between objects in different columns?
>
> The objects are related simply by juxtaposition. What needs restoration?
An OO application links many objects together. I would like to preserve
these links and restore them.
...like person and address...
I also want to make sure, that a stored object is only instantiated once. How does your "object-to-column-serialisation" take care of this?
> >- perform queries without having to instantiate objects?
>
> The object instances already exist in the relations. What would require
any
> additional instantiation?
The object "exists" on the persistent storage (hard disc) ? What an amazing system.
Lee Fesperman has been talking about the approach to query objects by calling their methods. To do this, you would need to instantiate them. The approach is very unperformant and can not use indices.
> You have an economic interest to outwardly
> question anything I say.
I post my opinions, whether they are in conflict to your postings or not. Yes I do have economic interests. I guess most of us here are working in IT so we all have some kind of economic interests involved in the themes we are discussing. What's wrong with it? I do not hide the fact from anyone since I use my real name and the project I am associated with in my signature.
What is your interest to spend so much time for the discussion? I know that you are associated with Lee Fesperman. It wouldn't surprise me if Lee Fesperman and Bob Badour were one and the same person. I have been wondering why I never have seen both of you posting to the same thread.
Kind regards,
Carl
--- Carl Rosenberger db4o - database for objects - http://www.db4o.comReceived on Sun Jul 22 2001 - 01:34:18 CEST