W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2009

Re: What is the mental model of XProc?

From: James Fuller <james.fuller.2007@gmail.com>
Date: Mon, 15 Jun 2009 17:06:08 +0200
Message-ID: <a0ad8ffe0906150806n1e53ef64p4e068638d10aaa27@mail.gmail.com>
To: "Costello, Roger L." <costello@mitre.org>
Cc: "xproc-dev@w3.org" <xproc-dev@w3.org>
I think more of unix pipelines with inputs/outputs etc .... also I see
no problem in looking at xproc steps as a kind of functional
decomposition.

though I think its probably easy enough to write procedural looking
code inside xproc but we are still looking at a declarative model.

as for goals/aspirations, etc you can refer to the spec and related use cases.

cheers, Jim Fuller

On Sun, Jun 14, 2009 at 4:44 PM, Costello, Roger L.<costello@mitre.org> wrote:
>
> Hi Folks,
>
> What is XProc's mental model?
>
> Here's what I think it is:
>
>   The mental model of XProc is streams
>   of XML flowing through steps which
>   operate on the XML.
>
> What seems clear to me is that XProc is not about dividing problems into bite-sized chunks (steps) so as to invoke the chunks - passing arguments and getting results - in a specific order to implement some algorithm. XProc is not about writing procedural code.
>
> Does an XProc pipeline have a goal? Should a pipeline have a goal?
>
> ... XProc is streams of XML ... Do streams have goals?
>
> What do you think?
>
> /Roger
>
Received on Monday, 15 June 2009 15:06:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 15 June 2009 15:06:46 GMT