On Tue, Apr 17, 2007 at 07:27:21AM +0000, Lalo Martins wrote:
> One problem I have with the pure-js version is the nature of HTTP; either
> the browser would need to keep a persistent connection to the server, like
> some web chat rooms do -- which is error prone (hard to recover from a
> disconnect) and makes the deserialisation a bit more complicated -- or it
> would have to poll, which sucks for a number of other reasons.
Yeah, this is why I was looking for libraries out there that address
these things (so we wouldn't have to). So far I'm only aware of comet
and dojo (dojotoolkit.com) (the client side).
Probably the best thing is to focus on just updating HTML in the
browser. So if the browser opens that persistent, listening channel,
then Hypervos can listen to the Vobjcets on its behalf, and if it e.g.
sees a child-inserted and the new object is HTML/XML, and it also has
an open connection to a listening web browser, to serialize the new
objects into an HTML fragment and push that to the browser.
Similar for anything changing in the objects or something removed.
stick the new or changed HTML into the DOM (set innerHTML or something).
Anyway, I'm just trying to gather ideas for future web applications, I
probably can't work on this right away-- but if you want to that would
be great, let me know and we can coordinate. I've been gathering these
ideas at http://interreality.org/wiki/HyperVosIdeas . Part of my
motivation has been searching for a good web application focused on
Question and Answer customer support, as well as general forum
discussion.
Reed
_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d