Stefano Mazzocchi wrote:

> Sure. I tried and I *HATED* the fact that in order to do something as
> simple as
> 
>  if (request.blah < 0)
>    call("error.html", request.blah);
>  else 
>    call("result.html", request.blah);
> 
> I have to write a 'ComparingSelector' and then use it like this
> 
>  <map:act type="request">
>   <map:select type="compare">
>    <map:when test="{blah} &lt; 0">
>     <map:call uri="cocoon:error.html">
>      <map:parameter name="blah" value="{blah}"/>
>     </map:call>
>    <map:when>
>    <map:otherwise>
>     <map:call uri="cocoon:result.html">
>      <map:parameter name="blah" value="{blah}"/>
>     </map:call>
>    </map:otherwise>
>   </map:select>
>  </map:act>
> 
> Even without continuations, the flowscript *alone* would make actions
> look a preistorical obsession for the XML syntax.

Don't laugh, but many are really obsessed with XML syntax, up to the 
point of creating a "general purpose programming language based on XML" 
[1]. I'm not sure whether to laugh or to cry.

> Sure, where is it? Are you planning to donate one to us?
> 
> I'm not skeptical about visual tools that exist (gosh, I love GUIs!).
> I'm skeptical about 'visual tools' that are possible but don't exist,
> nor are freely available for us to play with, enhance and control.

Something is starting to appear, see [2]. It's not going to be free, though.

> And today, between writing FSM tables using XML trees or writing
> procedural flow using a scripting language, I choose the second, each
> and every day of my life.

Ditto.

        Ugo

[1]: 
http://www.topxml.com/snippetcentral/main.asp?view=viewsnippet&lang=xml&id=v20020624075127
[2]: 
http://radio.weblogs.com/0108489/stories/2002/05/24/sunbowPlugInDocumentation.html


-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to