JavaScript connector vs Flash socket?
I agree that javascript and css can be used to replicate some flash animations, although Flash does all sorts of scaling and tweening which are incredibly powerful and I'm not sure if there is anything comparable in javascript, if any, I, of course I did not see it.
However, my question is about socket. Flash has an incredibly powerful openSocket class that allows you to connect to the server and the server and client talk to each other. As far as I know, there is no equivalent class in Javascript. Am I wrong? Is there some kind of secret Ajax secret class that replicates openSocket? If not, then this feature makes Flash an invaluable tool.
I'm interested in all the answers, though ... and yes, it's a programming question! :)
a source to share
The only implementation I have seen is WebSockets , it was part of the HTML5 spec but is now a standalone spec.
There is currently an AFIK available in WebKit based browsers, but it seems that in Firefox they are working on it .
Take a look at the following resources:
a source to share