cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Melhem <>
Subject Re: sample web-app too complex?
Date Wed, 12 Feb 2003 15:56:08 GMT
On Mon, Feb 03, 2003 at 02:06:18PM +0100, Christian Haul wrote:
> On 03.Feb.2003 -- 01:33 PM, Michael Melhem wrote:
> > Hi Cocooners,
> > 
> > I know that we probably have had this discussion before, but is there a
> > reason why we dont have simple "Hello-World" sample web-app along side
> > the current sample web-app? (or does there already exist an independent
> > "hello-world" web-app that Im not aware of?)
> > 
> > I have been trying to encourage some people I know to adopt Cocoon
> > in their organisations, but it seems to me that many new people are
> > daunted by the complexity of the sample web-app.  It might not seem so
> > difficult for most of us (who use cocoon everyday) but this is not the
> > case for most new users.
> Michael, I'm not quite sure if I understand this "simple webapp"
> proposal correctly. We do have a "clean-webapp" target which AFAIR
> builds a webapp without samples or documentation.

Hi Christian, I was actually thinking that we could provide a new 
build target that would build a hello-world.war and would contain 
only one or two simple samples.

The object of this hello-world.war would be demonstrate the basic
features/ideas behind Cocoon without getting bogged down on details. 
Just something simple with extra documentation so that newbies can get 
ther handes dirty real quick.

So instead of having X number of generators|transformers|serializers
being declared in the components section, we would have one or two
of each which would make things much easier to follow. We would also
have only one or two pipelines using say a basic file generator
to transform an xml file to HTML etc. I think at a minimum the webapp
would aslo need to show basic use of actions views..

With the current complexity of the webapp Im afraid that perhaps a lot 
of new users might not be able to see the "forrest for the trees".

Does anyone else see value in this?

> The other issue is the current samples we ship. A lot lives in a
> single sitemap file which is not really encouraging to try to
> understand what happens in there. Perhaps, we could all adopt some
> samples and split this monster into several sub sitemaps that contain
> just the parts for this particular sample. Have a look at the current
> database block samples to see what I mean.

Yes I agree with you here, the current webapp could itself be


> 	Chris.
> -- 
> C h r i s t i a n       H a u l
>     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

To unsubscribe, e-mail:
For additional commands, email:

View raw message