On Sun, 26 Dec 1999 [EMAIL PROTECTED] wrote:

> >So you want to link a topic into a tree, then add articles to the linked
> >topic (without disturbing the target)?
> 
> Pretty much... Mostly I want flexible linking. Such as, for instance, if 
> I have a forum running off of Midgard, and I store all the data under one 
> topic. I don't want to have to think about resetting the display related 
> data for it... so I'll just link the topics, set the content topic to have 
> some default display information,and be done with it.

But you're not forced to use the display data. You can fetch the
articles and entirely ignore the display data, using any
presentation algorithm you like.

> Yes... I don't see anyway to prevent orphaned articles, other than some 
> sort of reference counting...

But I don't want the content to disappear simply when the
last alias disappears.

> Really, do we -want- to prevent orphaned articles? 

Yes. And the flat article space.

> It's not necessarily a good thing to kill off hard written content...

Absolutely. So the content needs to be somewhere accessable. Your
metatree is one way to make sure of this.

> Probably 
> be better to make it the administrator's job to decide if something needs 
> to be deleted.

... or any content manager you grant rights to for that section of the
content.

> >A little background: most, if not all, objects within Midgard map
> >directly to rows in the MySQL database.
> 
> Ah... would not all this information be stored solely in the metatree? That 
> is, to simply do a author/article lookup, all you need to access is in the 
> metatree...

Hmm, no, that would mean unnecesary duplication of data. Whenever you want
to reference a person (author, creator, revisor, ...) you simply record
the person ID. The person table maps that ID to the details of
the person.

> If the link whose linkedto field is under the topic, then let it override. 
> Otherwise not. This incurs a small overhead for topic level linking, but 
> not critically. Optionally provide a script which will autoupdate a topic's 
> worth of article level links.

This is more or less what I had in mind for aliases. No need to have
the script: you could update the relevant fields for the aliases as
the original is updated.

Bye,
Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to