Re: Definition of Navigational (was: The wisdom of the object mentors)
Date: 26 Jun 2006 13:47:50 -0700
> > It is not much use to anybody to store the fact that they are on Floor 4, but nobody knows where on the floor.
> If the application is an android, this type of situation can arise and
> we don't want to bring it back to the lab to update its db's schema.
Android? And we thought losing a job to India was scary.....
> Frequently when persons unfamiliar with dbd see the tree view in its
> interface (it has a grid view also) they automatically assume the
> underlying data must be stored and limited to trees. Such isn't the
> case. Dbd can represent a thing in any number of "lists", "tables",
> "trees", "graphs", "networks", etc simultaneously without redundancy.
That would imply that it uses pointers. I am curious, how do you avoid orphan references when something is deleted? Do you traverse the entire graph to delete any references to the just-removed item? Do you "lock" the thing while this is happening? Or, is it single-threaded? I suppose for this kind of app that a few orphans won't matter much. A nightly batch job could clean them out. (Human dreaming may be just such a purge stage, according to some researchers.)
-T- Received on Mon Jun 26 2006 - 22:47:50 CEST