Saturday, December 29, 2007

pathnames, well known names, well known table

The next release (cowdb0.8.9) has been cleaned up quite a bit and some new concepts have been included.

First Class Objects -- These are objects which are under an index, though the system index is also a first class object and all indexes are first class objects. Only a first class object supports the fork operation.

Well known name -- Only first class objects can have a well known name. As forked objects can not change name (because the name is held by the fork object), a well known name provides an alternative which can be changed.

Well known table -- Every index has a well known table by which first class objects can be located using their well known name. The well known table of the system index then holds the well known names of the indexes of all the top-level branches. I.E. The top-level well known table replaces the old branch table but now there is symetry at every level.

Pathnames -- Every object now has a pathname by which it can be located. However, all the top-level branch indexes (the branch roots) have the same pathname: "/". Pathnames can be absolute (start with "/") or relative. However ".." notation is not supported, as pathname resolution is aggressive. Also when a pathname for an object is constructed, well known names (where available) are given preference over ordinary object names.

The display logic has also been enhanced to display each object's pathname.

Backlinks have still not been implemented--that's a release all by itself.

0 Comments:

Post a Comment

<< Home