- From: Christian Grün <christian.gruen@gmail.com>
- Date: Thu, 3 Mar 2016 17:30:52 +0100
- To: EXPath <expath@googlegroups.com>, EXPath <public-expath@w3.org>
- Message-ID: <CAP94bnPbJb9Zb-ju5U-0=0nwgiTHcR11kcXst3-B9G40okT4+A@mail.gmail.com>
...no one? ;) Am 29.02.2016 16:24 schrieb "Christian Grün" <christian.gruen@gmail.com>: > Dear all, > > James Wright has recently presented his XQuery Promise Module in > Prague (Proceedings, 139ff [1]). His code is available at GitHub [2], > and we were wondering if people in the community were interested in > seeing the ideas behind this module standardized? > > The result could be two specifications: > > 1. The Promise Module > > * This module is inspired by the Promise Pattern as it is available in > e.g. jQuery and AngularJS. > > * It includes functions like defer(), then(), fail() and others (see > the links for more details) > > * It seems to be possible to implement 90% or even 100% of the module > in pure XQuery. > > > 2. The Async Module > > * In its initial version, the module contains a single async:fork-join > function, which can be used to process a sequence of XQuery functions > in parallel [3]. > > * The module could be enhanced with an extension of the FLWOR > expressions and an 'async' keyword in for clauses [4]. > > * It could further be extended with two functions async:fork and > async:join. The first function would trigger the evaluation of a query > (supplied as string) as a separate process; the second function could > be called to fetch the result of the first function. > > Thoughts are welcome; thanks in advance, > Christian > > [1] http://archive.xmlprague.cz/2016/files/xmlprague-2016-proceedings.pdf > [2] http://github.com/james-jw/xq-promise/ > [3] https://github.com/james-jw/xq-promise/issues/16 > [4] https://github.com/james-jw/xq-promise/issues/15 >
Received on Thursday, 3 March 2016 16:31:20 UTC