cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark H" <mailingli...@markhorgan.com>
Subject RE: 10 basic survival tips for cocoon users (was: Logicsheet problems - global XSLT variables)
Date Tue, 21 Jan 2003 13:58:27 GMT
> For XSLT processing i have added Saxon-6.5.2.

Are you saying that Xerces doesn't deal with global XSLT variables properly?

>4.) Proceed in "baby steps" when changing things in your cocoon app

But it really slows up development

>8.) I started using the "coocon developers handbook"

I got "Cocoon - Building XML Applications" and "Coocoon 2 Programming" but
they don't get into the development site of things very deeply, especially
the first book. Might try out the book you mentioned.

-----Original Message-----
From: SAXESS - Hussayn Dabbous [mailto:dabbous@saxess.com]
Sent: 20 January 2003 10:50
To: cocoon-users@xml.apache.org
Subject: 10 basic survival tips for cocoon users (was: Logicsheet
problems - global XSLT variables)



Mark Horgan wrote:

> Also, do others find working with Cocoon very frustrating? When you make a
> change it takes forever for the web-app to reload and re-compile the java
> class, espcially when it takes up so much memory. Also even when using the
> logs its very hard to track down bugs in ones code especially logicsheets.
> But generally I like Cocoon though I wish it was more straight-forward to
> develop with it.
>
> Thx in advance,
> Mark
>

Hy,

When i started with cocoon i got really mad with hunting errors
and understanding, how all this fits together. But after about
three months of working with the beast, i built up some
survival strategies. It is how I do it. It may help as a guide,
but it does not claim to be the "best approach":

1.) Instead of restarting the whole container, i only restart
     the cocoon app, when needed. This takes a few seconds with
     tomcat 4.1.* (~300 MHz sparc dual processor, solaris 2.8)
2.) During development i use tomcat and i set the reloadable="true"
     within the <Context/> of my webapp. By this any changes in the
     classpath causes an automatic webapp restart.
3.) use released versions if possible (cocoon-2.0.4 seems quite mature)
4.) Proceed in "baby steps" when changing things in your cocoon app
5.) follow KISS (keep it simple, stupid) i keep as much as possible
     with the basics of cocoon and don't use (yet) the more fancy stuff.
6.) Separate your app into subsitemaps and subdirs with related issues
7.) use the cocoon-wiki
     Especially the search function unhides
     interesting docs
8.) I started using the "coocon developers handbook"
     It's written from Lajos Moczar and some other active
     cocoon developers...

Here are two of my personal favorites. I have documented this in
our company wiki:

9.) For XSLT processing i have added Saxon-6.5.2. It's not
     straight forward to install, but sometimes it can be
     utilised with less pain, than xalan (just a matter of taste)
     Look into cocoon wiki for a quick description or look at
     http://www.saxess.com/JSPWiki/Wiki.jsp?page=Install
     for a quickinstall step by step instruction.
10.)use entity resolver wherever possible.
     look at the cocoon docs for the basics or at
     http://www.saxess.com/JSPWiki/Wiki.jsp?page=EntityResolver
     for a quickinstall description.

hope, that helps someone ...

regards, hussayn

--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax:     +49-221-56011-20
E-Mail:  dabbous@saxess.com


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


Mime
View raw message