Re: [Twisted-Python] AMP WebSockets bridging

2012-06-20 Thread flavio
Laurens Van Houtven <_ lvh.cc> writes: > Eventually I'll try to write a Twisted implementation of SockJS, which is > basically portable websockets all the way down to IE6. hi, i recently started working with sockjs and you may want to check out my work- in-progress server implementation at http

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-18 Thread Corbin Simpson
On Mon, Jun 18, 2012 at 04:33:17PM -0500, Laurens Van Houtven wrote: > How do you process that data on the client side given the poor support of > ArrayBuffer and Blob? Good question! I haven't really read through that part of noVNC. I try to stay blissfully ignorant of the details. You could read

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-18 Thread Laurens Van Houtven
How do you process that data on the client side given the poor support of ArrayBuffer and Blob? On Monday, June 18, 2012, Corbin Simpson wrote: > On Fri, Jun 15, 2012 at 12:32:37PM -0700, Glyph wrote: > > On Jun 15, 2012, at 10:13 AM, Laurens Van Houtven wrote: > > > The issue is that while AMP i

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-18 Thread Corbin Simpson
On Fri, Jun 15, 2012 at 12:32:37PM -0700, Glyph wrote: > On Jun 15, 2012, at 10:13 AM, Laurens Van Houtven wrote: > > The issue is that while AMP is inherently a binary protocol, WebSockets > > transfer text (well, that's a lie: there's a binary version, but it's even > > less widely supported th

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-16 Thread Glyph
On Jun 16, 2012, at 6:45 AM, Laurens Van Houtven wrote: > Do you think that for old browsers (that is ie6 & 7) it's acceptable to tell > them to go install chrome frame? ( for Franck and hence twisteds future bug > tracker). If the answer is yes, is that because it will take a while to > switc

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-16 Thread Tobias Oberstein
> Do you happen to know what the figures are like for iOS? I know mobile Safari > only got web sockets in 4.something (1 or 2), I'm not sure what version of > the protocol it speaks either, and obviously flash isn't an option... 4.2.1 .. which includes very old devices like iPod Touch 2nd gen.

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-16 Thread Tom Sheffler
> > On Jun 15, 2012, at 10:13 AM, Laurens Van Houtven wrote: > > > Hi, > > > > I'm trying to get browsers to communicate with an AMP API. > > This is also what is doing. I hope that it > becomes a common enough practice that there's a library for it :). > > > The issu

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-16 Thread Laurens Van Houtven
On Saturday, June 16, 2012, Tobias Oberstein wrote: > > Do you happen to know what the figures are like for iOS? I know mobile > Safari only got web sockets in 4.something (1 or 2), I'm not sure what > version of the protocol it speaks either, and obviously flash isn't an > option... > > 4.2.1 ..

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-16 Thread Laurens Van Houtven
On Friday, June 15, 2012, Glyph wrote: > > On Jun 15, 2012, at 10:13 AM, Laurens Van Houtven wrote: > > > Hi, > > > > I'm trying to get browsers to communicate with an AMP API. > > This is also what is doing. I hope that it > becomes a common enough practice that the

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-16 Thread Tobias Oberstein
> Do you happen to know what the figures are like for iOS? I know mobile Safari > only got web sockets in 4.something (1 or 2), I'm not sure what version of > the protocol it speaks either, and obviously flash isn't an option... 4.2.1 .. which includes very old devices like iPod Touch 2nd gen.

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-15 Thread Laurens Van Houtven
Unfortunately I have a lot of customers that are non technical, use IE6/7, and can't or won't use chrome frame. I wish that wasn't the case, but... I also have no data on the presence of old and busted flash plugins. I might do this anyway beause: - the relevant ticket hasn't landed yet - even if

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-15 Thread Allen Short
On Fri, Jun 15, 2012 at 2:32 PM, Glyph wrote: > > On Jun 15, 2012, at 10:13 AM, Laurens Van Houtven wrote: > >> Hi, >> >> I'm trying to get browsers to communicate with an AMP API. > > This is also what is doing.  I hope that it > becomes a common enough practice tha

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-15 Thread Glyph
On Jun 15, 2012, at 10:13 AM, Laurens Van Houtven wrote: > Hi, > > I'm trying to get browsers to communicate with an AMP API. This is also what is doing. I hope that it becomes a common enough practice that there's a library for it :). > The issue is that while

Re: [Twisted-Python] AMP WebSockets bridging

2012-06-15 Thread Tobias Oberstein
> Eventually I'll > try to write a Twisted implementation of SockJS, which is basically portable > websockets all the way down to IE6. FWIW: You can have WebSocket for IE8/9 via Flash plus https://github.com/gimite/web-socket-js and for IE6-9 with http://code.google.com/chrome/chromeframe/ With

[Twisted-Python] AMP WebSockets bridging

2012-06-15 Thread Laurens Van Houtven
Hi, I'm trying to get browsers to communicate with an AMP API. Right now I'm trying to do that using WebSockets with Corbin SImpson's txWS. Eventually I'll try to write a Twisted implementation of SockJS, which is basically portable websockets all the way down to IE6. The issue is that while A