Andreas Hartmann wrote:
Hi Lenya devs,
we're talking about "leaves" and "branches", but I have to admit
that I don't know exactly what these terms mean.
well, one could also use the terms
files/folders (resp. directories)
or
resources/collections (WebDAV)
or
jcr-properties/jcr-nodes (JCR)
IIUC leaf/branch are used to distinguish node types in a tree-like
structure. In Lenya, there's no general concept of a tree, apart
from the tree implied by the URL space:
/foo/bar/index
/foo/baz/index
/foo/baz/xyz
foo
/ \
bar baz
/ / \
index index xyz
If we're talking about this tree, then it would be possible to introduce
the leaf/branch concept in the framework. But that leads to a
restriction:
It is not possible to prevent the creation of nodes which are not
URL tree children of the current document.
Assume you have a URI structure like this:
/news
/news_page1
/news_page2
/tv
/tv_page1
/tv_page2
/...
where /news is the main page of a section and other pages are
separated using the underscore character. In this case it would not
be possible to restrict creation using the URL space tree.
I don't really understand what the restriction is resp. what cannot
be restricted. Can you give another example?
Michi
If we use the leaf/branch concept for the URL space tree, IMO we have
to be aware that this implies a restriction.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]