angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

[Feature Angular 1.3] Support for websockets

Open Thomasdezeeuw opened this issue 12 years ago • 55 comments

Would be great if Angular had an service that provides websockets support.

Thomasdezeeuw avatar Dec 14 '13 22:12 Thomasdezeeuw

-1

I don't agree it should be available as a built-in "Core" service, the reasons were already mentioned. Don't get me wrong, I like WebSockets and I think it's great - but in my opinion, it doesn't fit as a core feature, not yet.

And as an external service, browsers support is still problematic and there are already good alternatives. I don't think we need it NOW.

AdirAmsalem avatar Jan 11 '14 13:01 AdirAmsalem

-1

g00fy- avatar Jan 11 '14 23:01 g00fy-

+1

kbudde avatar Jan 15 '14 11:01 kbudde

-1

ismasan avatar Jan 15 '14 12:01 ismasan

:-1:

bfricka avatar Jan 21 '14 08:01 bfricka

I'd have to agree with @caitp that adding Websockets is too soon yet. And, with other libraries offering a much more comprehensive support, it would be just duplication of effort for Angular team to implement their own flavour (and that too, as you suggest, not fully...)

kumarharsh avatar Jan 21 '14 10:01 kumarharsh

+1

tamtakoe avatar Feb 11 '14 19:02 tamtakoe

+1

carlosrymer avatar Feb 11 '14 20:02 carlosrymer

-1

gitnik avatar Feb 27 '14 09:02 gitnik

-1

majello avatar Mar 06 '14 18:03 majello

+1

burzum avatar Mar 17 '14 01:03 burzum

There are already plenty of SockJS vs Socket.IO wars. There doesn't need to be a SockJS/Socket.IO/AngularJS-websockets war.

linagee avatar Mar 25 '14 22:03 linagee

@linagee On the opposite, it is a good opportunity to take the best of both technologies and make The best product

tamtakoe avatar Mar 26 '14 03:03 tamtakoe

Implementation-wise, there's no reason that something like this needs to live in core.

Still, I think having a good service/idiom for using websockets with Angular is worthwhile.

@jeffbcross has started a module called ngSocket that wraps websockets for Angular. I wrote angular-socket-io that wraps the popular Socket.IO library.

I think it'd be good to link to these in the docs under Complementary Libraries.

Does that seem like a reasonable resolution to everyone?

btford avatar May 19 '14 21:05 btford

I would like to have some kind of first class support for all HTML* technologies and APIs. WebSockets, IndexedDB, requestAnimationFrame, etc. If you need external libraries is fine, but we need support on it.

Hope it can be affordable by your team.

Thanks!

marcalj avatar May 20 '14 09:05 marcalj