First -- what Peter said :-)
Requiring a plugin is probably a bad idea, I wouldn't expect many people to
install it. (Although it would be cool.) More realistic is to write and
distribute our own javascript library, which implements a mockup of the VOS
API, but actually serialises over HTTP and JSON (or XML, but JSON is
faster). That's one thing that I could certainly write, and it wouldn't
take me nearly as much as the bindings are taking :-)
For added coolness, we could *also* have a plugin or something similar, and
then code the js library to detect the plugin and use it automagically. So
if you have the plugin, your connection actually goes trough VOS/VIP, but
transparently, so "user" js code doesn't need to change or know about it.
It's just faster.
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.
best,
Lalo Martins
--
So many of our dreams at first seem impossible,
then they seem improbable, and then, when we
summon the will, they soon become inevitable.
-----
personal: http://lalo.hystericalraisins.net/
technical: http://www.hystericalraisins.net/
GNU: never give up freedom http://www.gnu.org/
_______________________________________________
vos-d mailing list
[email protected]
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d