cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [status & RT] design challenges
Date Mon, 08 Apr 2002 10:11:27 GMT
Ovidiu Predescu wrote:
> 
> On Fri, 5 Apr 2002 21:03:25 -0600, "Ivelin Ivanov" <ivelin@apache.org> wrote:
> 
> >
> > I dare to challange our sitemap gurus to make a comparative analisys of the
> > Jakarta Workflow engine and C2 sitemap.
> >
> > http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/workflow/
> 
> Workflow's approach appears to be based on a finite state machine
> model. Checkout the sample control file at:
> 
> http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/workflow/src/wizard-demo/WEB-INF/wizard.xml?rev=1.1&content-type=text/vnd.viewcvs-markup
> 
> The same approach can be modeled in Cocoon today using actions.
> 
> However a much better approach is the one based on
> continuations. Check out the Schecoon calculator sample at:
> 
> http://cvs.apache.org/viewcvs/xml-cocoon2/src/scratchpad/schecoon/webapp/examples/calc/calc.js?rev=1.3&content-type=text/vnd.viewcvs-markup
> 
> and look at the additional resources used by it.
> 
> It is my opinion that this model provides a much better way of
> describing the flow in Web applications and perhaps in Web services as
> well.

I cannot agree more!

Try programming using a simple script like this compared to write a
finite-state machine using XML instructions. And think in ten years from
now when this XML-crazyness has passed.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------

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


Mime
View raw message