News for hackers. Stuff that matters.
Re:Blink won’t implement pointer events by mcav on Friday August 15, 2014 @01:39PM (#8183240)
(although server-sent-events are supported by just about everything except IE: http://caniuse.com/eventsource )
Re:Blink won’t implement pointer events by panzi on Friday August 15, 2014 @01:57PM (#8183318)
Given that IE 10+ supports web sockets I don't really see the need for server sent events. What can you do with server sent events that you cannot do with web sockets? I guess one could deprecate SSE in favor of WS.
Re:Blink won’t implement pointer events by chc on Friday August 15, 2014 @02:27PM (#8183461)
It's not what you can do, but what you have to do. Websockets are to Server-Sent Events as jet planes are to wheelbarrows. Yes, the stuff jet planes can carry is a superset of the stuff wheelbarrows can carry, but the cost is greater and it ends up being a suboptimal in many cases where you'd want to use a wheelbarrow.
Re:Blink won’t implement pointer events by derefr on Friday August 15, 2014 @02:59PM (#8183615)
Also, most people who think they want the semantics of websockets, really want the semantics of SSE. I've seen many, many webapps that basically build SSE on top of websockets.
Re:Blink won’t implement pointer events by stephenr on Friday August 15, 2014 @02:27PM (#8183463)
SSE is trivial to support via a polyfill, and has none of the connectivity issues websockets has, so it's capable across a much wider array of devices/software both client side and server/network side

I feel that websockets is like the xml of this decade - "everyone is using it" so everyone wants to use it.

Re:Blink won’t implement pointer events by panzi on Friday August 15, 2014 @04:53PM (#8184131)
How can you polyfill it? Long polling JSON?
Re:Blink won’t implement pointer events by stephenr on Friday August 15, 2014 @11:28PM (#8185302)
There are several polyfills linked from modernizer and I haven't looked at them all but I would imagine so yes. Because it tracks the last-read message ID, a broken connection is not a deal breaker