cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <>
Subject Re: [Schecoon] flow control layer
Date Fri, 01 Mar 2002 10:04:16 GMT
Good day!

> > > > Built-in datatypes are numbers, arrays, dictionaries and function
> > > > objects. There is a special type 'void', that has a single possible
> > > > value named 'void'.
> > >
> > > What about 'strings', 'dates' and the like?
> >
> > Oh, yes, those too ;-) I forgot about them.
> ok, I would add 'currency', since web-oriented flow languages will sure
> have to deal with strings, dates and money. And having them explicitly
> declared in the language might allow us to obtain 'easy' transparent
> handling (say, automatic money conversion)

Hm... Money conversion can be a complex business operation depending on
external environment.

> Are there any other 'first class concepts' that you guys might want to
> have in a flow language? IDs (as for credit-card numbers) might be
> another one, even if probably a concept too detailed... ok, your turn
> people :)

What about EJB objects?
A DOM object would be also useful.

Speaking frankly, I've already seen something like this we are discussing in
WebLogic Process Integrator (it's a Workflow Engine). You can define your
workflow process using a GUI (it looks like a flow chart diagram) and among
the other types you could define workflow variables of the following types:
Object, EJBObject, XML.

Also, this is related more to other thread about XML-based selectors: in
WLPI you could define your selection logic using built-in functions and you
could combine XML-based selection with other types, e.g.:

<if test="XPath($userInput, '/confirmation/response')='yes' and
compareDate($startDate, $endDate)=0'" >...</if>
where $userInput is type of 'XML' (internally it could be a DOM object) and
$startDate, $endDate are of 'java.util.Date'.

    Konstantin Piroumian
> [snipped part in where we resonate completely, well, at least as much as
> can I resonate with somebody that likes the power of small languages
> built inside a bigger language :-)]
> --
> Stefano Mazzocchi      One must still have chaos in oneself to be
>                           able to give birth to a dancing star.
> <>                             Friedrich Nietzsche
> --------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, email:

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

View raw message