[Pmwiki-users] Re: Re: Organization of pages (was: Hierarchical groups)
Patrick R. Michaud
Sun Jun 13 13:34:28 CDT 2004
On Sun, Jun 13, 2004 at 11:03:36AM +0200, Christian Ridderstr?m wrote:
> > > It's probably a good idea to think of the pages as a database (regardless
> > > of how it's implemented), and look at how to structure it from that point
> > > of view.
> > PmWiki 2.0 does just that.
> Ok. Do you have a reason for not giving pages a unique ID? From my
> experience with databases I'd say that's almost a requisite?
Well, pages *do* have a unique ID, the page name is a unique ID.
The question (I think) you are really asking is why not give pages
a unique ID other than the page name, and the answer is that I then
have to come up with a set of tools and interfaces for a wikiadministrator
to be able to manipulate the pages in the database (no matter how it's
stored)--i.e., removing groups, copying pages from one wiki to another,
and other things that can be done within the filesystem now become
much more difficult and require a lot of extra scripting and support.
I don't see the benefit (version control of page names) as being anywhere
close to worth the cost in terms of ease of maintenance, importing pages,
exporting pages, backups, etc. Using IDs other than pagenames throws out
a lot of tools (ftp, rm, mv, del, cp, etc.) that are now available for
administrative purposes, or at the least makes them more difficult to use.
More information about the pmwiki-users