PS Neville wrote:
> My overall framework follows along the lines of Turbine, but XML
> transformations are an invaluable, designer-friendly utility saving tons of
> time within that framework.
That's the point.
The Cocoon framework is not just for publishing static documents or
slideshows, but a general tool for content syndacation and digital
publishing. Note we did not make _any_ assumption on "who" generates the
XML content that Cocoon uses.
In a perfect world, this could be a normal servlet (so integration with
turbine is _that_ easy), unfortunately, you can't do that unless paying
a pretty high performance price (parsing everything that the servlet
generates).
But Arkin and I proposed the addiction of XML-special output methods for
the Servlet API 2.3 (under current JCP process) and if this happens and
Turbine supports that model, we are all set since you can integrate
turbine inside cocoon or cocoon inside turbine.
What does this mean?
Well, from turbine's point of view, instead of creating HTML is creating
XHTML (just replace <br> with <br/> and <img...> with <img.../>), or
more structured markup that is then transformed. Or it could generate
placeholders like
<turbine:header/>
....
<turbine:footer/>
that are picked up with stylesheets and transformed to make the look
pluggable without having to mess around with internal Turbine code.
Anyway, it's up to who creates the web application, at this point, since
Turbine is neutral on the content produced (ASAIK).
There are tons of little things that could go wrong (installation,
cocoon2 sitemap pluggability, the specification of the transformations,
cocoon-turbine direct communication), but these are problems with
general complex XML generators and my foggy vision of the problem is
starting to clear up.
Anyway, Jon is totally right on one thing: Cocoon is ahead of its times
and today using turbine with Cocoon is not a practical solution since
more practical solutions are available today.
But you all know that I don't like it when it becomes mainstream, I like
it before, when all the research takes place :)
Yes, Jon, I need a job :)
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<[EMAIL PROTECTED]> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------
--
----------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]