You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kasper Nielsen <ne...@kav.dk> on 2002/12/12 12:39:38 UTC

Why cocoon sucks

Okay this is a question not a statement!



For a short synopsis at school I'm looking for points to areas where cocoon
and stacking an endlessly number of XSL transformers on top of each other
falls short. You know stuff like how difficult it is adding a new attribute
to an XML element, and make sure it's copied along in all your 200
stylesheets, compared to how easy it is in languages like java.



- Kasper



---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Why cocoon sucks

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Steven Noels dijo:
> Kasper Nielsen wrote:
>
>> For a short synopsis at school I'm looking for points to areas where
>> cocoon and stacking an endlessly number of XSL transformers on top of
>> each other falls short. You know stuff like how difficult it is adding
>> a new attribute to an XML element, and make sure it's copied along in
>> all your 200 stylesheets, compared to how easy it is in languages like
>> java.
>
> It would be cool if you did your homework yourself, and post it on the
> mailinglist or on
> http://outerthought.net/wiki/Wiki.jsp?page=TheyDontLikeCocoon

Hi!

It will be fine to see the arguments against Cocoon! I saw many post about
this topic in the list. I am open mind and I want to read what are the
problems they had with Cocoon. This kind of thing helps to improve a
product! ;-D

Please, take a little of your time a write you opinion at:
http://outerthought.net/wiki/Wiki.jsp?page=TheyDontLikeCocoon

Sincerely,

Antonio Gallardo.

>
> </Steven>
> --
> Steven Noels                            http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> Read my weblog at              http://radio.weblogs.com/0103539/
> stevenn at outerthought.org                stevenn at apache.org
>
>
> ---------------------------------------------------------------------
> 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:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>




---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Why cocoon sucks

Posted by Steven Noels <st...@outerthought.org>.
Kasper Nielsen wrote:

> For a short synopsis at school I'm looking for points to areas where cocoon
> and stacking an endlessly number of XSL transformers on top of each other
> falls short. You know stuff like how difficult it is adding a new attribute
> to an XML element, and make sure it's copied along in all your 200
> stylesheets, compared to how easy it is in languages like java.

It would be cool if you did your homework yourself, and post it on the 
mailinglist or on 
http://outerthought.net/wiki/Wiki.jsp?page=TheyDontLikeCocoon

</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at              http://radio.weblogs.com/0103539/
stevenn at outerthought.org                stevenn at apache.org


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Why cocoon sucks

Posted by Tony Collen <tc...@hist.umn.edu>.
On Thu, 12 Dec 2002, Alex McLintock wrote:

> Why did you chuckle? As a member of the London perl mongers group (I drink
> with them and waffle on the mailing list) I know a large number of people
> happy to work with Mason.

Well, I know exactly nothing about Mason itself, but perhaps the title of
the book is inappropriate for what Mason can actually do.  Just the
thought of having a .html page on a server with code embedded directly
into it make me shudder.  All too often I see software that lets the
developer *** EMBED CODE DIRECTLY INTO WEB PAGES! ***
<cough>coldfusion</cough> and they make it hard to separate the concerns.

PHP started out as a simple templating system, IIRC, and now it does so
much, there's things like Smarty which are templating systems for the old
templating system. But I digress...

> (Or was it the fact that O'Reilly had picked some kind of monkey to go on
> the cover?)

Monkeys are always funny :)


TC

Tony Collen -- tc@socsci.umn.edu
College of Liberal Arts   University of Minnesota, Minneapolis, West Bank


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Why cocoon sucks

Posted by Alex McLintock <al...@OWAL.co.uk>.
At 16:02 12/12/02, Tony Collen wrote:
>On a side note, I chuckled to myself when I saw this book in the store:
>
>http://www.oreilly.com/catalog/perlhtmlmason/
>
>I think it helped me appreciated what Cocoon does just a little bit more
>:)


Why did you chuckle? As a member of the London perl mongers group (I drink 
with them and waffle on the mailing list) I know a large number of people 
happy to work with Mason.

I haven't yet seen an over-riding reason why one should always choose 
Cocoon over Mason. It is much more a case of choosing the tools you are 
familiar with.

(Or was it the fact that O'Reilly had picked some kind of monkey to go on 
the cover?)

Alex McLintock






Openweb Analysts Ltd, London.
Software For Complex Websites http://www.OWAL.co.uk/
Open Source Software Companies please register here 
http://www.OWAL.co.uk/oss_support/


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Why cocoon sucks

Posted by Tony Collen <tc...@hist.umn.edu>.
On a side note, I chuckled to myself when I saw this book in the store:

http://www.oreilly.com/catalog/perlhtmlmason/

I think it helped me appreciated what Cocoon does just a little bit more
:)


Tony




Tony Collen -- tc@socsci.umn.edu
College of Liberal Arts   University of Minnesota, Minneapolis, West Bank


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Why cocoon sucks

Posted by Yves Vindevogel <yv...@implements.be>.
I agree with Chris.  In every language you can create a mess.

Two rules of advice for Kasper on programming:
1) Be a lazy coder.  Think first how you can write as few lines of code as 
possible.  Not only will you have effecient code, you'll have code that you 
can maintain.
2) Stop using copy & paste.  If things are similar to each other, create a 
function.  In XSL that's a template.  If you copy&paste a line of code 100 
times and it shows a bug afterwards, be sure that you will change it 95 
times, leaving 5 bugs.

Bad coding habits are no reason to break down a product.  Cocoon is a great 
XML publishing framework.  It's even not about XSL at all.  It uses XSL but 
it's not an XSL editor or whatever you want to call it.  Use the tools for 
what they're intented.

> >For a short synopsis at school I'm looking for points to areas where
> > cocoon and stacking an endlessly number of XSL transformers on top of
> > each other falls short. You know stuff like how difficult it is adding a
> > new attribute to an XML element, and make sure it's copied along in all
> > your 200 stylesheets, compared to how easy it is in languages like java.
>
> I think it is easier to edit a couple of stylesheets than coding Java.
> Plus, the use of stylesheets helps with the separation of
> style/content/logic. If you have a new bit of style to add, a designer
> responsible for the look of the output could edit the stylesheet.
>
> I appreciate your reason for use of hyperbole but it is not fair - no-one
> has an endless number of XSL transformers stacked up and no-one has 200
> stylesheets to edit.


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Why cocoon sucks

Posted by Kasper Nielsen <ne...@kav.dk>.
----- Original Message -----
From: "Chris Faulkner" <ch...@ntlworld.com>
To: <co...@xml.apache.org>
Sent: Thursday, December 12, 2002 12:56 PM
Subject: Re: Why cocoon sucks


>
> >
> >For a short synopsis at school I'm looking for points to areas where
cocoon
> >and stacking an endlessly number of XSL transformers on top of each other
> >falls short. You know stuff like how difficult it is adding a new
attribute
> >to an XML element, and make sure it's copied along in all your 200
> >stylesheets, compared to how easy it is in languages like java.
>
> I think it is easier to edit a couple of stylesheets than coding Java.
Plus, the use of stylesheets helps with the separation of
style/content/logic. If you have a new bit of style to add, a designer
> responsible for the look of the output could edit the stylesheet.
>

Come on, any decent web framework has separation of style/content/logic. I'm
not talking about system.out.println("<html><body> hi my name is " + name +
"</body></html>");



I know what Cocoon is good for and I like it, however no technology is
perfect and some things are done easier with other tools.



- Kasper



---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Why cocoon sucks

Posted by Chris Faulkner <ch...@ntlworld.com>.
>
>For a short synopsis at school I'm looking for points to areas where cocoon
>and stacking an endlessly number of XSL transformers on top of each other
>falls short. You know stuff like how difficult it is adding a new attribute
>to an XML element, and make sure it's copied along in all your 200
>stylesheets, compared to how easy it is in languages like java.

I think it is easier to edit a couple of stylesheets than coding Java. Plus, the use of stylesheets helps with the separation of style/content/logic. If you have a new bit of style to add, a designer 
responsible for the look of the output could edit the stylesheet.

I appreciate your reason for use of hyperbole but it is not fair - no-one has an endless number of XSL transformers stacked up and no-one has 200 stylesheets to edit. 

Chris

>
>
>- Kasper
>
>
>
>---------------------------------------------------------------------
>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:     <co...@xml.apache.org>
>For additional commands, e-mail:   <co...@xml.apache.org>
>
>




---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Why cocoon sucks

Posted by Brian Johnson <jo...@yahoo.com>.
With a well-designed set of transformation, you won't have to update 
every one of your stylesheets for a single attribute change. For 
instance, I use the xsl:copy tag to simply copy as-is any element that 
I'm not interested in doing something with in a particular stylesheet.

On Thursday, December 12, 2002, at 06:39  AM, Kasper Nielsen wrote:

> Okay this is a question not a statement!
>
>
>
> For a short synopsis at school I'm looking for points to areas where 
> cocoon
> and stacking an endlessly number of XSL transformers on top of each 
> other
> falls short. You know stuff like how difficult it is adding a new 
> attribute
> to an XML element, and make sure it's copied along in all your 200
> stylesheets, compared to how easy it is in languages like java.
>
>
>
> - Kasper
>
>
>
> ---------------------------------------------------------------------
> 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:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>