You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Willie Wheeler <ww...@andrew.cmu.edu> on 2000/06/19 19:48:34 UTC

Seeking design wisdom

Hi all,

	I am new to Cocoon and I need some guidance as to proper application
design.  I am building an application that lets users take multiple choice
tests over the web.  I have a bunch of XML files that encode the static
question data.  The final HTML file must include not only the static
question, but also dynamic user-specific information such as info about
which choice the user selected or which hint the user requested.  It is not
an option to add hooks for dynamic content to the static question XML files,
since I don't control them.  Here is how I think processing flow should go:

	question.xml --> [XSLT processor] -->
	question_plus_userstuff.xml (an XSP file) --> [XSP processor] -->
	question_plus_userstuff producer output --> [XSLT processor] -->
	question_plus_userstuff.html

Is this the right way to do it on the Cocoon model?
	Also, regarding caching, am I right in thinking that a single cached
producer can handle different combinations of request params, or is a cached
producer associated with the static content *plus* some specific HTTP
request params?

	Thanks,
	Willie