W3C home > Mailing lists > Public > public-xformsusers@w3.org > August 2019

XForms and Web sockets

From: C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>
Date: Thu, 1 Aug 2019 11:41:52 -0400
Message-Id: <3DE0CE38-BED0-43F8-98C9-81B4D0F8D401@blackmesatech.com>
Cc: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>
To: XForms <public-xformsusers@w3.org>
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
cmsmcq@blackmesatech.com
http://www.blackmesatech.com
********************************************
Received on Thursday, 1 August 2019 15:42:23 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 1 August 2019 15:42:24 UTC