Janne Jalkanen wrote:
The big question (for me anyway) is whether to implement this as some
kind of actual hierarchical storage structure, or just via metadata.
I think that should be up to the repository; the only thing that really
matters is the reference scheme (and a perceived hierarchy is as good as
any, i.e. /a/b/c).
Uuh. I wish you hadn't said that. I think it should be up to the design,
so that if someone changes a repository it wouldn't matter. One of the
things I think we should aim to permit in 3.0 is a similar variety of
storage provider possibilities. It's likely a big selling point.
Problem with collections is that the become circular, which again cause
some... issues.
You can imagine a hierarchy as an implicit collection, where the path of
the page determines implicitly the main collection they belong to. This
is good because it means that you don't explicitly have to tie a page to
a particular collection, and does not preclude the idea that pages could
then belong to multiple collections.
Hm. Something in here sounds interesting...
Well, the idea that an object potentially multiple names (metadata) and
multiple references (addresses, also metadata). We would have a new object
called a Collection that is used to dereference incoming addresses, pointing
them to objects (pages). "Moving a page" is a matter of changing a reference,
not changing its physical storage location. Adding it to a Collection is
a matter of adding a reference to a Collection object. And yes, a page could
potentially be in more than one Collection (could be a design option).
Point is, all is in metadata. We have someting called an AddressManager and
a CollectionManager to handle addressing and de-referencing addresses. Or
something like that...
Murray
...........................................................................
Murray Altheim <murray07 at altheim.com> === = =
http://www.altheim.com/murray/ = = ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = =
Boundless wind and moon - the eye within eyes,
Inexhaustible heaven and earth - the light beyond light,
The willow dark, the flower bright - ten thousand houses,
Knock at any door - there's one who will respond.
-- The Blue Cliff Record