cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <>
Subject Re: [C2]Access control using sitemap
Date Tue, 19 Sep 2000 14:38:32 GMT
Hi, Zvi! :-)

From: "Zvi" <>
> Hi, Nicola
> Nicola Ken Barozzi wrote:
> [skip]
> > I see two "problems" that he is trying to address: speed(hence caching)
> > and inclusion.
> > For the speed, I don't think it's an issue, but if you need you can write a
> > custom Generator that caches according to you _personal_ needs.
> > For the inclusion... it's just a matter of making a transformer that
> > gets parameters in input telling the header and footer... not too hard,
> > believe me. :-)
> My example is over simplified. I the real life thing, I need to include tens of
> other transformed XSP results, most of them unknown on the design time - not
> just header and footer :)
> Other "problem" that, solution of Giacomo, use intermediate HTTP requests, to
> execute XSPs. I think that is reasonable to have option to execute XSP
> programmatically.

Then I think I don't understand it well :-(
Sorry, could you make it more clear for me with a real-life example.
If you wish, of course :-)

> There is no "problems" for me, I just think that the whole idea of Cocoon is to
> make things simple and easy to use for non-programmers and for fast prototyping
> by programmers. My idea is just extrapolation of XSP and sitemap. User can't be
> forced, to write Custom Transformer in Java, for such a basic thing, as
> inclusion result of another pipeline.

Well, I meant "issue", and when I said "you" I intended it in the impersonal way.
I think that speaking in terms of site creation and handling (not merely technical
possibility) you are right.
As fot my idea of using transformers, it makes more sense when the sitemap manager
wants to decide to add headers and footers, and it is not your case, right?
I don't understand, why is the include transformer not ok for this job?
If it is speed, remember that now it uses DOM, but IMO it should/will use SAX,
right Donald? :-)


Nicola Ken Barozzi - AISA Industries S.p.A
Via Leonardo da Vinci,2 Ticengo (CR) Italy
Research Activity:
Politecnico di Milano - Dipartimento di Meccanica
Piazza Leonardo da Vinci, n.32 - 20133 Milano (Italy)

View raw message