You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christoph Strehl <st...@itc-dortmund.de> on 2003/07/30 13:06:35 UTC

General Questions about using Cocoon

Hi all,

I am new to Cocoon and I have read some Tutorials about it so I guess I
got the basic idea what it is all about. I really like what Cocoon has
to offer, but there are still a few questions that I need to ask before
I start programming my first webapp with Cocoon. I hope you aren't angry
with me if these questions were already asked before ;-) Well, here I
go:

As a fan of JSP I am going to use the JSPReader of Cocoon to build the
dynamic content which will be translated into HTML via a XSL-file. There
will be one XSL-files for each logical unit of the webapp, for example
news2html.xsl, forum2html.xsl, navigation2html.xsl and so forth. My
first question is, is it possible to cascade a xsl-files? For example if
some content is the same on each page and I want to present it the same
way, do I have to put the transformation-code in each xsl-file I got or
I can I "include" a xsl-file and put the transformation-code in this one
only?

My second questions is about caching. In my past webapps with JSP I used
a cached-system called OSCache which can be found at
http://www.opensymphony.com/oscache/. I *think* I am still able to use
this or similar - external - cache-thechnologies for caching the
dynamic-content part of my cocoon-webapp, right? But besides that I have
read something about a Cocoon-internal caching-system. How does it - in
short - work and am I able to use it at the same time I use the
cache-system mentioned above for my JSPs?`

The third and last question is about performance: How much does the
advantage of separation of code cost? I can imagine that with all the
overhead cocoon comes along, webapps using cocoon are significantly
slower than pure JSP webapps. Has anyone of you made experiences how
much slower it is? Is it still fast enough 

Again I want to apologize if these questions were stupid or were already
asked but I didn't know where else to ask them.

Regards,
Christoph Strehl



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org