cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Robins <coc...@peterrobins.co.uk>
Subject Re: newbie: how to get a clean application
Date Wed, 20 Mar 2002 09:28:24 GMT
a bit of an old thread, but I would second this. I would suggest something 
like Perl with its modules: a basic core system to download/install, plus a 
list of modules/extensions to provide additional functionality as needed. 
Ideally, adding a module would be a simple push of a button, but at the least 
each module should include instructions on what has to be added to 
libs/web.xml/configuration files/sitemap to use it.

In short, instead of assuming that everyone uses all functions and supplying 
everything as default, assume most people don't use most functions, so don't 
want to download/install them. At the moment, I'ld be pretty sure that at 
least some people will take a brief look at the distribution, decide it's far 
too complicated, and move on; this is a pity, as Cocoon is not really all 
that complicated, it's just the way it's packaged makes it look like it is.


On Thursday 14 Mar 2002 6:09 pm, Moritz Petersen wrote:
> nicola,
>
> i have another remark. after using your (and also vadim's!) hints, i've got
> a much smaller cocoon webapp, than before. but that's not exactly what i
> wanted.
> the produced war file contains still documentations etc. and the
> sitemap.xmap and cocoon.xconf are still full.
>
> i removed all .jars, that are not required and all pielines, actions,
> generators etc. from the sitemap, that i don't need. the cocoon.xconf file
> is a little bit more complicated, so i just removed some database stuff,
> which i don't need.
>
> after that, i've got my typical application structure:
>
> /config (sitemap.xmap, cocoon.xconf, web.xml...)
> /lib (all required .jars etc.)
> /src (my sources)
> /web (my .html, .xml, ... files)
> build.xml
>
> running ant install (my own build script) installs a "small" web
> application (which is still about 8.5 MB big!), which creates xml via my
> own generator, transforms it to svg and serializes it to png.
>
> it would be nice to have a tool, which checks dependencies at all levels.
> like "configure_cocoon svg, html, xslt, png" which creates a webapp _only_
> with the neccesary .jars, a appropriately configured sitemap and
> cocoon.xconf... ok, you have other things to do / in mind. maybe i'll find
> some time to start it.
>
> cheers,
>
> moritz.
>
> > > but: the ant task "user-input" is still unknown!
> >
> > I think I fixed it in latest CVS version (2.0.2).
> > Try that next time you upgrade, and let me know if there are
> > still problems.
> >
> > > thanks a lot!!
> >
> > You're welcome :-)
> >
> > Remember users: we need your input, and telling us what is going wrong
> > for you helps us *a lot*.
> > We should thank *you all* for your patience and collaboration, and
> > constructive criticism is very welcome indeed.
> >
> > Thank you :-)
> >
> > --
> > Nicola Ken Barozzi                   nicolaken@apache.org
> >             - verba volant, scripta manent -
> >    (discussions get forgotten, just code remains)
> > ---------------------------------------------------------------------
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.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