cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <Giacomo.P...@pwr.ch>
Subject Re: Action proposal
Date Mon, 18 Sep 2000 21:38:45 GMT
Per Kreipke wrote:
> 
> <snip>
> 
> > > > >  / -> root sitemap
> > > > >  /docs -> docs sitemap (inherits components located in the
> > root sitemap)
> > > > >  /docs/press -> press sitemap (inherits component located
> > in docs, and
> > > > > cascaded in root)
> > > > >
> > > > > and so on. I don't know if this is already implemented
> > (Giacomo?) but
> > > > > for sure we need to do this before release otherwise we have serious
> > > > > scalability problems.
> > > >
> > > > The mounting of subsitemaps is already implemented and tested.
> > > > Component inheritance is beeing deferred because we need the new
> > > > Avalon release to implement it. It requires SitemapComponentManagers
> > > > that can be arranged in a hierarchical way and they must be able to
> > > > manage all kinds of sitemap components the right way by means of
> > > > Poolable, Recyclable, Sharable, Clonable etc. interfaces.
> > >
> > > Ok, cool.
> > >
> > > Do me a favor: download the latest Avalon CVS and see if it works for
> > > you. If not, make sure you tell them sooner rather than later... I don't
> > > want to wait for another Avalon release.
> >
> > I'm already there (you should have seen my questions on the avalon list)
> > :P
> > I also will completing the sitemap docs I've begun. Please be patient
> > with me I have a lot of other work to do these weeks.
> 
> Forgive my simple question, I'm sure I don't really understand exactly what
> you guys are talking about but I was just working on something similar to
> the 'property inheritance' described above. 

We were talking about ingeritance of SitemapComponents from a subsitemap
to its parent sitemap.

> Given an XML tree describing
> site directories and their properties, like below, I was thinking that XSL
> could be used to 'cascade' and 'inherit' settings. E.g. Would want to make
> sure that the 'Your mom' node was also private because it's parent 'Humor'
> was private.
> 
> <dir name="Top">
>   <props>
>         <flPrivate>false</flPrivate>
>   </props>
>   <dir name="Humor">
>     <props>
>         <flPrivate>true</flPrivate>
>     </props>
>     <dir name="Your Mom">
>     </dir>
>   </dir>
> </dir>
> 
> Instead of using Java to do this, couldn't the XSL or DOM processor do this?

I don't get this. Could you explain how this relates to the sitemap
inheritance we taked about in this thread?

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1  856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1  856 2201
Hintereichenstrasse 7                     Mobil: +41 (0)78 759 7703
CH-8166 Niederweningen                    Mailto:Giacomo.Pati@pwr.ch
                                          Web:   http://www.pwr.ch

Mime
View raw message