Which is the better way to build real-time applications using Angular.js and Node.js?

后端 未结 5 1511
借酒劲吻你
借酒劲吻你 2020-12-29 13:36

I\'m beginner in Angular.js and Node.js, but I\'ve realized that there are two possible ways to make real-time applications. The first is using Socket.io and the other is us

5条回答
  •  無奈伤痛
    2020-12-29 14:03

    Based on your use case, I think Socket.IO is the way to go. However, there are a few caveats to using WebSockets with Angular. I recommend you take a look at a blog post I wrote on the subject a while ago: http://briantford.com/blog/angular-socket-io.html

提交回复
热议问题