"submission events" (was: Fwd: RE: "Tracking" submission progress?)

In case someone wants to chatter about this over here...


----- Forwarded message from mark.birbeck@x-port.net -----
    Date: Fri, 24 Mar 2006 17:23:37 -0000
    From: Mark Birbeck <mark.birbeck@x-port.net>
Reply-To: Mark Birbeck <mark.birbeck@x-port.net>
 Subject: RE: "Tracking" submission progress?
      To: www-forms@w3.org


Raman,

> Well, you could complete the circle by adding a "receiving data "
> event on the xml-http side as well.

Exactly...that's why I mentioned the WEB API work. It should be no different
to events like 'focus' or 'load' that can be registered for in script or in
XForms--we should unify (or define them when they are missing) events for
'submission complete', 'submission error', 'submission in progress', 'about
to serialise', 'about to validate', and so on. Then we get a *functional*
stack from the W3C, rather than a set of angle brackets.

Unfortunately this may be some time coming, since the WEB API group has
decided to define the layer *below* this at the moment, and try to get down
the behaviour of all the different XmlHTTPRequest objects. This may be of
use to browser vendors, I guess, but it isn't much use to authors, and in
particular authors of Ajax libraries; if we had a set of events in the way
that I've described and that were used by the different libraries, people
could program to any library they like, but still know that the functional
flow of their application was the same. (I'm not saying libraries *must*
adhere to this, but as you allude to in your excellent blog entry [1], there
aren't that many ways to define the behaviour of sending some data to a
server, getting the data back and then using it...why not all agree on some
kind of 'submit-done' event name!)

Anyway, exciting discussions--I think we'll see quite a lot of development
in this area shortly.

Regards,

Mark

[1]
http://xml-applications.blogspot.com/2006/03/xforms-and-ajax-applications-in
.html


Mark Birbeck
CEO
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
b: http://internet-apps.blogspot.com/
w: http://www.formsPlayer.com/

Download our XForms processor from
http://www.formsPlayer.com/





----- End forwarded message -----


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Friday, 24 March 2006 18:28:23 UTC