cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <coli...@SeeBeyond.com>
Subject RE: [control flow] changes and new sample
Date Tue, 10 Sep 2002 22:41:12 GMT
Hi Ivelin,

Actually I believe it is possible to have continuations in pure Java --
using bytecode rewriting -- however this approach is quite intrusive and its
effect on performance and code-size is not insignificant (see:
http://www.cs.kuleuven.ac.be/~tim/MOS/brakes.html). Nevertheless the
performance of such instrumented code would likely still be significantly
faster than interpreted Rhino. I think it would be interesting to prototype
such an approach. If someone is interested in doing this for Cocoon, I
suggest they contact the authors of Brakes and see if they might be
interested in contributing their code to Apache. Given that I think it would
be fairly straightforward to set up a pure Java flow layer similar to what
Ovidiu has done with JavaScript.

Regards,

Chris 

-----Original Message-----
From: Ivelin Ivanov [mailto:ivelin@apache.org]
Sent: Monday, September 09, 2002 7:20 PM
To: cocoon-dev@xml.apache.org
Subject: Re: [control flow] changes and new sample



I have been following along the thread silently trying to finally "get" the
picture.

At this point, the only reasonable question that I can ask is,
if it is possible to consider providing the continuation capabilities within
the Actions instead of promoting JavaScript as another language supported by
Cocoon.

My reasoning is that for the size and scalability of the web applications
that I am dealing with, I wouldn't bet too much on a loosely typed and
non-compiled language. If provided, however, I may seriously consider using
a more sophisticated paradigm for flow control within my actions.

I hope to learn more from this thread.

Cheers,

Ivelin


----- Original Message -----
From: "Simon Price" <simon.price@bristol.ac.uk>
To: <cocoon-dev@xml.apache.org>
Sent: Monday, September 09, 2002 4:27 PM
Subject: Re: [control flow] changes and new sample


> I'm a newcomer to cocoon, but would be inclined to agree with Stefano
> that flows are more generalised concept than an mvc controller. There
> are ways of using flows that have very little to do with mvc. So,
> assuming anyone can vote on these things :-) +1 for map:flow
>
> Simon
>
> >
> > I vote for <map:flow>.
> >
> >
>
>
> --
>
> -------------------------------------------------------------------
> Simon Price
> Institute for Learning and Research Technology
> University of Bristol
> 8-10 Berkeley Square
> Bristol BS8 1HH
> United Kingdom
>
> Direct: +44 (0)7071 226 720
> Office: +44 (0)117 928 7193
> Fax: +44 (0)117 928 7112
> Simon.Price@bristol.ac.uk
> http://www.ilrt.bristol.ac.uk
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message