cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uli Mayring <>
Subject Re: [status & RT] design challenges
Date Fri, 05 Apr 2002 22:00:57 GMT
On Fri, 5 Apr 2002, Jason Foster wrote:

[... other frameworks ...]

> Cocoon
> - you code your *logic* in a procedural language and the runtime handles
> "continuations"
> - you code your *presentation* as individual web pages created using
> transformations and/or embedded scripting
> - the logic can make use of the presentation, which in turn can continue
> the logic

Wow, this sounds deep. Reminds me of when I coded in Prolog (a declarative
logic programming language), I never knew which object could in which
circumstances call which other object - and just as I thought I understood
the flow, the Runtime was up to something on its own :)

I have spent the last couple of days thinking about the following problem.
Suppose in an XSP page you have this flow control code:

if (test==true) {
else {

Rewrite this procedural code in a declarative way. After much fiddling
about I came to the conclusion that there is no elegant and practical
solution. But perhaps you guys can solve this problem on a higher level,
one advantage of Cocoon is that there are plenty of higher levels :)



Ulrich Mayring
DENIC eG, Softwareentwicklung

To unsubscribe, e-mail:
For additional commands, email:

View raw message