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.

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.

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]

Reply via email to