473,387 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Alternative to cocoon?

My requirements are very simple: When a user browses to an XML document,
the server should parse the document, apply its stylesheet, and spit the
HTML at the client. Apache Cocoon is a slow, bloated mess that is
impossible to configure and it is just not right at all for this purpose. I
have no interest whatsoever in servlets, all I need is easy-to-configure
server-side XSL transformation. Has anyone come up with an apache module
that does this without having to do tomcat and cocoon and sitemaps and all
that jazz?

Thanks,
-Jeremy
Jul 20 '05 #1
6 4794
On Sun, 19 Oct 2003 19:22:29 +0000, Jeremy wrote:
My requirements are very simple: When a user browses to an XML document,
the server should parse the document, apply its stylesheet, and spit the
HTML at the client. Apache Cocoon is a slow, bloated mess that is
impossible to configure and it is just not right at all for this purpose.


I am sorry, just this sentence makes clear, that you have

(1) no idea about Cocoon

(2) did not try versions after 1.8
as a matter of fact: Cocoon is extremyl powerful, stable and flexible.
there are companies, that use Cocoon *because of performacne
considerations*; as Cocoon proved to be faster then other server tools.

moreover, you have various options to speed up Cocoon applications using
fine grained caching strategies, as an example.

additionally it has a vivid community with good support in the mailing
list for users as well as for developers. it is probably one of the
best Apache projects.

So I really would like you to really evaluate a project before you write
dubious stuff like to one cited above.
Alex
Jul 20 '05 #2
Fair enough - I apologize for bashing cocoon. I'm sure it's an excellent
solution for more advanced needs, but for my needs it is just plain
overkill. I don't think that whether or not there is a less flexible
solution is an unreasonable question - I phrased it like a jerk because I
was getting frustrated with trying to configure cocoon.

After I posted, a friend pointed me to mod_xslt which is pretty much exactly
what I need. Thanks for the reply.
"Alexander Schatten" <al****@gmx.at> wrote in message
news:pa****************************@gmx.at...
On Sun, 19 Oct 2003 19:22:29 +0000, Jeremy wrote:
My requirements are very simple: When a user browses to an XML document, the server should parse the document, apply its stylesheet, and spit the
HTML at the client. Apache Cocoon is a slow, bloated mess that is
impossible to configure and it is just not right at all for this
purpose.
I am sorry, just this sentence makes clear, that you have

(1) no idea about Cocoon

(2) did not try versions after 1.8
as a matter of fact: Cocoon is extremyl powerful, stable and flexible.
there are companies, that use Cocoon *because of performacne
considerations*; as Cocoon proved to be faster then other server tools.

moreover, you have various options to speed up Cocoon applications using
fine grained caching strategies, as an example.

additionally it has a vivid community with good support in the mailing
list for users as well as for developers. it is probably one of the
best Apache projects.

So I really would like you to really evaluate a project before you write
dubious stuff like to one cited above.
Alex

Jul 20 '05 #3
Jeremy wrote on Sun, 19 Oct 2003 19:22:29 +0000:

I have no interest whatsoever in servlets, all I need is
easy-to-configure server-side XSL transformation. Has anyone come up
with an apache module that does this without having to do tomcat and
cocoon and sitemaps and all that jazz?


Searching for XSL on
modules.apache.org yields several
results, e.g. http://modules.apache.org/search?id=334. I haven't tried any
of those.
What I did try indeed is Popoon[1]. As you might have guessed, Popoon is
[an approximation to] a Cocoon port to PHP. It's lighter, smaller and you
have it running in no time, modifications can be made very quickly - PHP
is so simple. Due to sophisticated caching mechanisms it performs quite
well, too. Perhaps you might wan't to have a look at that?

Best regards,
Hannes Gassert
[1] http://bitflux.ch/developer/cms/popoon.html
--
mediagonal sa // route de la fonderie 7 // ch-1700 fribourg
tel 026 422 25 11 // key id 0x9EA04604 // www.mediagonal.ch

Jul 20 '05 #4
On Sun, 19 Oct 2003 23:15:57 +0000, Jeremy wrote:
Fair enough - I apologize for bashing cocoon. I'm sure it's an excellent
solution for more advanced needs, but for my needs it is just plain
overkill. I don't think that whether or not there is a less flexible
solution is an unreasonable question - I phrased it like a jerk because I
was getting frustrated with trying to configure cocoon.


well meanwhile I suggest Cocoon also for "small" problems. the reason is,
that it is extremly simple to configure:

(1) install a JDK

(2) download Cocoon, build it by starting one batch file and start it

thats it
with the outomount feature even generation of new subprojects became very
easy.
Alex
Jul 20 '05 #5

"Jeremy" <je*****@uci.edu> wrote in message
news:VvBkb.595888$cF.261050@rwcrnsc53...
My requirements are very simple: When a user browses to an XML document,
the server should parse the document, apply its stylesheet, and spit the
HTML at the client. Apache Cocoon is a slow, bloated mess that is
impossible to configure and it is just not right at all for this purpose. I have no interest whatsoever in servlets, all I need is easy-to-configure
server-side XSL transformation. Has anyone come up with an apache module
that does this without having to do tomcat and cocoon and sitemaps and all
that jazz?

try axkit.org instead of implementing in java/tomcat use perl/modperl
instead.
Jul 20 '05 #6
In article <pa****************************@gmx.at>, one of infinite monkeys
at the keyboard of "Alexander Schatten" <al****@gmx.at> wrote:
as a matter of fact: Cocoon is extremyl powerful, stable and flexible.
there are companies, that use Cocoon *because of performacne
considerations*; as Cocoon proved to be faster then other server tools.
Erm - what other server tools?

The context of the question was XSLT processing, and I have indeed
encountered one monumentally slow XSLT module[1]. I guess if you compare
to that, then cocoon or anything else comes out as much faster.
But if you take any implementation worth looking at from this (or last)
year you can expect a different result.
moreover, you have various options to speed up Cocoon applications using
fine grained caching strategies, as an example.
Likewise Apache 2 with a sensible XSLT filter.

Oh, and of course XSLT is just one application. If you want to suggest
another, that's fine: I expect I could implement a faster version of XYZ
with Apache 2, FWIW. That of course excepts jobs where "java" is part of
the requirements spec; maybe where a company is heavily locked-in or the
pointy-hairs can't grasp the difference between a tool and an outcome.
additionally it has a vivid community with good support in the mailing
list for users as well as for developers. it is probably one of the
best Apache projects.
httpd doesn't do too badly ...
So I really would like you to really evaluate a project before you write
dubious stuff like to one cited above.


Fair comment on the OP, but IMHO your post may be in danger of making a
similar mistake, praising a product by comparing it to unspecified and
perhaps inappropriate competition.

Hmmm ... I'd better shut up now; I'm probably falling straight into the
same rhetorical trap.

[1] it was based on Sablotron, and running the commandline "sabcmd" from
CGI was several hundred times faster.

--
Nick Kew

In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Adam | last post by:
Hi! I'm trying to do a login form in cocoon. Login data are taken from MySQL, but before the data are checked cocoon throws such an error: org.apache.cocoon.ResourceNotFoundException: Resource...
1
by: Jawahar | last post by:
Hi All.. Currently in our application, we are using Serlvet as Controller,Jsp to View,BusinessLogic in EJB. We planned to implement Cocoon frame work in our existing application. Is this...
0
by: wai | last post by:
hi all, i running cocoon 2.1.1 with websphere 5, i have a problem related to xsp cinclude. everything after my first cinclude statement, it become bank. i been tested the cocoon cinclude...
0
by: Hugh Sparks | last post by:
If I configure and use two different fragment extractors on the same XML document, how can I write xslt template match patterns that distinguish which elements these fragments replaced? Details:...
0
by: mcv | last post by:
I'm currently learning to use Cocoon, and although I really like it, there are a couple of things that don't seem to be explained very well. I've seen lots of articles explaining really complicated...
0
by: Per-Christian Engdal | last post by:
Hi, I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1 Sp2 (Windows 2000) installation. The deployment works without exceptions, but when I try to access cocoon through...
2
by: rozwel | last post by:
Hi, I'm currently starting a CMS project based on XML-related technologies and I want to use an XML framework as the basis of my architecture. I found two open source project that could fit my...
3
by: Dennis Benzinger | last post by:
Hi! Is there a Python web publishing framework like Cocoon? I found Maki <http://maki.sourceforge.net/> but it was last updated in 2003 and its author says that he doesn't want to make another...
0
by: Hugh Field-Richards | last post by:
Hi This was original posted only on the Cocoon Users Group last year but Paloose is now reasonably mature enough for exposure on this forum. Paloose is a simplified (much simplified) version...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.