Re: [Xsltforms-support] Fwd: XForms and Web sockets
Brought to you by:
alain-couthures
From: Tim T. <tim...@gm...> - 2019-08-01 16:33:23
|
Thank you for considering this, Alain--it would be a powerful feature to add to XSLTForms! I remember that Mark Lawson did a nice demo, adding a small amount of custom JavaScript, to enable push notifications in XSLTForms using MQTT: Code: https://github.com/Tingenek/xml-amsterdam-2015 Blog: https://tingenek.wordpress.com/category/mqtt/ -- Tim A. Thompson Discovery Metadata Librarian Yale University Library On Thu, Aug 1, 2019 at 12:21 PM Alain Couthures < ala...@ag...> wrote: > Hello, > > Web sockets support in XSLTForms could be interesting, don't you think? > > It could probably be implemented at instance level, maybe with a specific > scheme, such as "ws://". > > Thank you for sharing links and ideas! > > --Alain > > > -------- Message transféré -------- > Sujet : XForms and Web sockets > Date de renvoi : Thu, 01 Aug 2019 15:42:24 +0000 > De (renvoi) : pub...@w3... > Date : Thu, 1 Aug 2019 11:41:52 -0400 > De : C. M. Sperberg-McQueen <cm...@bl...> > <cm...@bl...> > Pour : XForms <pub...@w3...> <pub...@w3...> > Copie à : C. M. Sperberg-McQueen <cm...@bl...> > <cm...@bl...> > > At the Balisage conference yesterday, there was an interesting > paper [1] by Zahra Al-Awadai, Anne Brüggemann-Klein, Christina Grubmüller, > and Philipp Ulrich of the TU Munich about using the XML technology stack to > create graphical user interfaces; > among other things, they discussed contexts which require the > server to push information to the client in a way that does not > jibe easily with the statelessness of HTTP. > > [1] > https://www.balisage.net/Proceedings/vol23/html/Bruggemann-Klein01/BalisageVol23-Bruggemann-Klein01.html > > Philipp Ulrich reported in particular on work towards encapsulating > the web sockets functionality of current browsers into an XML > element which provides a declarative packaging for the web sockets > the team need for their server-push functionality. > > Afterwards (and again in discussion this morning), John Boyer > and the authors and I got interested in whether and how it would > be possible to integrate this kind of functionality into XForms. > (The current work is independent of earlier work at TUM which > used XForms, and the web-socket element is not currently > integrated into any XForms environment.) > > Much of the existing machinery of XForms is relevant here and > could be reused. > The web socket could of course raise an XForms event when > it receives a message from the server; since the message may be > XML, I might want it to update or be appended to an instance > in my model (which seems to make the web socket behave a bit > like a submission which is triggered not by a user action but by an event > of some other kind. > > I hope that the WG (and implementors!) will be interested and will take > some time to consider whether web sockets could be integrated into the > spec. > > ******************************************** > C. M. Sperberg-McQueen > Black Mesa Technologies LLC > cm...@bl... > http://www.blackmesatech.com > ******************************************** > > > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |