I don't understand why a pages and resources are
handled differently
(pages are put into the directory, resources get an extra directory).
That is not what I meant. Pages get an extra directory, too. I didn't
mention folders, but they should get an extra directory.
Maybe pages and folders should be put into some
artificial folders
(e.g. _classname_) as well, so that there is more of an uniformity:
Yes, that is what I want. If we use _classname_ then it should be
possible for someone to add a new class and for the storage manager
to automatically add it.
Or more simple (shouldn't we do it as simple as
possible?) one could
put all the data into the same directory and to put the type/class-name
as file-extension:
I don't think it is simpler. I think that the subdirectory is just
as easy to program, maybe simpler. And it has the added benefit of
making directories smaller, thus making open() be faster.
Personally, I prefer to have human-readable tags (like
the ones
suggested by John Brant). Also name-clashes from different extensions
I want to tag every line so that the system can better handle the case
where only half of the page is written. Note that there will probably
only be one class that writes these tags, so different extensions will
have to worry about clashes to this class anyway.
-Ralph