tag:blogger.com,1999:blog-27648409.post6752086964253023165..comments2023-07-22T06:40:24.412+12:00Comments on Stuff What I Posted: WebSocket, js.io and replacing CometUnknownnoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-27648409.post-55576245717039283612010-02-15T18:29:34.794+13:002010-02-15T18:29:34.794+13:00There has been a ton of progress relating to js.io...There has been a ton of progress relating to js.io, Orbited and comet libraries recently. In particular, Orbited is in the process of switching to comet session protocol which is designed to be a fallback protocol for browsers without flash or websocket: http://orbited.org/blog/files/csp.html<br /><br />There is already two python implementations, one for twisted and one for wsgi/eventlet. <br /><br />Please send me an email if you want help or details, as most of this is sort of under the radar.Unknownhttps://www.blogger.com/profile/04840627424816383146noreply@blogger.comtag:blogger.com,1999:blog-27648409.post-21129948158163499042010-02-09T03:10:02.791+13:002010-02-09T03:10:02.791+13:00So I'm very determined to get WebSocket suppor...So I'm very determined to get WebSocket support for all browsers.<br /><br />1. Use native WebSocket if available<br />2. Fall back to WebSocket emulated with flash if flash is available<br />3. Fall back to js.io emulated WebSocket over a comet server as a last resort<br /><br />I'm working on that last part now. Due to the problems I've been having with orbited, I'm looking into use Apt-Project's TCPSocket support and writing WebSocket emulation on top of that.Roberthttps://www.blogger.com/profile/10661174357451523041noreply@blogger.comtag:blogger.com,1999:blog-27648409.post-14747777787064922902010-02-05T13:14:19.915+13:002010-02-05T13:14:19.915+13:00Thanks for the feedback Robert, it is good to hear...Thanks for the feedback Robert, it is good to hear some detail from someone who has gone further than me in this.Richardhttps://www.blogger.com/profile/16059166933270492555noreply@blogger.comtag:blogger.com,1999:blog-27648409.post-84774694721783340152010-02-05T08:47:14.604+13:002010-02-05T08:47:14.604+13:00Your post is EXACTLY what I want.
I too skipped on...Your post is EXACTLY what I want.<br />I too skipped on Kaazing due to it's commercial nature and large size.<br />ape-project.org also claims to have WebSocket emulation support that uses comet, but it too was a pretty large download and large server side component just to get WebSocket support.<br /><br />I've had experience with Orbited in the past, so I was able to get js.io + orbited working with WebSocket emulation.<br />However js.io's emulated WebSocket doesn't quite match the spec and the comet part of Orbited has some difficulty working in certain browsers when you have multiple domains (like comet.product.com and product.com). If you use a different port than 80 on the same domain your good, but then firewalls start to block you because your not on port 80.<br /><br />In the end I chose to just go with Flash even though I hate having to use flash for anything. I hear din my head how like 95% of browsers have flash installed so hey, it should be fine.<br />I was SHOCKED at how many people didn't have flash and can't use the site because of it.<br /><br />I'm still using the flash websocket emulation for now though until I can come up with a small sized comet emulation.<br /><br />I think I have to just break down and look at the low levels of comet techniques, and implement something minimal and small for each browser one by one.Roberthttps://www.blogger.com/profile/10661174357451523041noreply@blogger.comtag:blogger.com,1999:blog-27648409.post-14596784011646362152010-01-08T07:09:52.189+13:002010-01-08T07:09:52.189+13:00Unfortunately for me, I find Flash to be an unacce...Unfortunately for me, I find Flash to be an unacceptable solution. Most things I use written in it (I do not play games) seem to be clunky and awkward, given its lack of integration with the web browser.Richardhttps://www.blogger.com/profile/16059166933270492555noreply@blogger.comtag:blogger.com,1999:blog-27648409.post-22673250836370786532010-01-07T16:48:09.729+13:002010-01-07T16:48:09.729+13:00I've been using web-socket-js on my project. I...I've been using web-socket-js on my project. It makes the WebSocket object available in Javascript on any client that supports Flash (since Flash can already handle sockets). Definitely worth a look: http://github.com/gimite/web-socket-jsGame Masterhttps://www.blogger.com/profile/10287632052420874358noreply@blogger.com