I think there have already been some good replies to this;
my 2c would be to look carefully at what dynamic aspects are
required by your users.   Remember in Cocoon the aim is the
"separation of concerns".  The main reason that Cocoon is
not just another "templating" framework is to avoid mixing up
the logic and styling and content into one page (as JSP, for 
example, allows).  

If you really need a full-blown JSP page, you can incorporate 
such directly into your application, bearing in mind the downside 
of  such an approach ito maintainability etc.   For less significant
impact, you may want to consider allowing in certain elements
in the existing XML pages and then processing these via 
the JXTemplateGenerator.   Have a look at the Cocoon samples.


>>> [EMAIL PROTECTED] 2004/12/21 03:53:27 AM >>>
I've built a Cocoon site that I'm happy with and now I need to build a
completely new and different site, and I'm reading about XSP to see if
it
could make this new site better.  For example, in my first site, I used
the
Cocoon protocol (cocoon:/ and cocoon://) in conjunction with cinclude
to
insert dynamic elements, e.g. lists of document titles, etc.  This
technique
worked, but only because I the programmer was the only person
maintaining
the site, and I understood these things.

Conversely in my new site I want a more "JSP" kind of architecture in
that
non-programmers will need to do some page creation and I want to give
them
some 'tags' they can use to insert dynamic code into their pages, and
I'm
wondering if XSP could give me the ability to create this sort of
'taglib',
like in JSP of course.

So, then, if my content is in xml files on disk, and I have xsl
transformation, where do xsp tags fit in?  I realize that they go in
xsp
files, but if that's the case, do the xsp files 'start' the pipeline
instead
of the xml files as I'm accustomed to doing?  At what point do the xml
files
enter the pipeline?  I can't see how XSP tags are used by
non-programmers...or perhaps I should say I can't understand how to
incorporate what to me looks like a 'third tier' on top of what appears
to
be a perfectly adequate two-tier content-presentation architecture. 
Any
insights into my question are greatly appreciated.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to