Argyn Kuketayev wrote:
> I don't think that Cocoon is complex. I blame the very
> poor documentation. When you know how it works, it's
> simple. So, you have to get very familiar with the source
> codes to use Cocoon. I don't like it. I'd rather look
> under the hood only when I have non-trivial problems. 
> 
> Unfortunately, with Cocoon you have to do it all the time.
> E.g., Cocoon's samples are just to say "hey, we have samples!".

Not so. They are there as a learning tool for you.
Yet they more than that. They provide the basis for you to
create your own applications (copy-and-extend).

Please read the following snippet from
http://xml.apache.org/cocoon/overview.html#samples
------------
It will greatly assist your understanding of Cocoon to investigate
behind-the-scenes, to find out how each sample is processed. Do this by
looking at the actual XML documents provided in the distribution at
webapp/docs/samples/ and by consulting the sitemap to see the
processing steps that are defined.
------------

Please contribute other new samples as you see fit.

I am interested to know how you propose to build a
reliable finely-tuned publishing system using Cocoon
without "looking under the hood". I did not realise that
we had reached that stage of automation yet.

We certainly are aiming for that. In HEAD branch, the
Samples are being re-organised into a set of clean,
reliable, informative, individually-packaged samples.
This makes it easy to use them as template apps.

Eventually, high-level tools can utilise them. I hear
that sitemap editing tools are starting to emerge too.

For the moment you must look under the hood. Anyway, i find
that getting my hands dirty is the best way to learn. Please
follow the samples that others have tried to provide.

You say that you need to "get familiar with the source code"
in order to understand. Well, i do not touch any java code.
I just copy and tweak the samples' xml/xsl files and sitemaps.

--David






---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to