Hi,
I was looking at the question about server push http://www.nabble.com/Form-refresh-td12191652.html#a12232773 The solution of polling isnt an option, the event could happen in .5 seconds or 5 minutes so polling every .5 seconds doesnt sound too good, although I suppose I could do some form of incremental wait, delay=k*time already spent. Are there any xforms extensions for this? If not, (I know that its more of an ajax question), but does anyone know of a javascript library to handle the "comet" request? Andy Bailey -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
> I was looking at the question about server push
> http://www.nabble.com/Form-refresh-td12191652.html#a12232773 > > The solution of polling isnt an option, the event could happen in .5 > seconds or 5 minutes so polling every .5 seconds doesnt sound too > good, although > I suppose I could do some form of incremental wait, delay=k*time > already spent. > > Are there any xforms extensions for this? Well, XForms 1.1 specifies asynchronous submissions. In theory, you can start a submission, then keep using the form, and then when the submission completes it can triggers actions with the usual xforms- submit-done event. With this approach, anytime the submission completes it would have to reconnect to listen for the next event. This could work, however we don't implement that yet. It is tricky to do on the server, as it also needs a push communication mechanism between server and client, and this means something like comet. So we are back to using comet, except here it would be implemented natively in the browser. Note that comet also puts quite some requirements on the server if you have lot of users around, since it will keep one connection open for every user. Some people of course have been working on creating scalable server solutions though. > If not, (I know that its more of an ajax question), but does anyone > know of a javascript library to > handle the "comet" request? I think that Google will be your friend here. -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
> Well, XForms 1.1 specifies asynchronous submissions.
... > however we don't implement that yet. Do you have any timeframe for the implementation? >> If not, (I know that its more of an ajax question), but does anyone >> know of a javascript library to >> handle the "comet" request? > > I think that Google will be your friend here. Yes I know! I was just wondering ... Thanks, Andy Bailey http://www.hazlorealidad.com -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
>> however we don't implement that yet.
> > Do you have any timeframe for the implementation? For @delay, we hope over the next 2 months, but there is no guarantee as usual. >>> If not, (I know that its more of an ajax question), but does anyone >>> know of a javascript library to >>> handle the "comet" request? >> >> I think that Google will be your friend here. > > Yes I know! I was just wondering ... That's understood ;-) -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |