Real time application (React + Django)

huangapple go评论54阅读模式
英文:

Real time application (React + Django)

问题

只想获得一些建议,关于创建实时应用的最佳方法是什么。
在两侧应使用什么架构和库

我已经研究了前端的Socket.IO和Django后端的Channels,我是否必须同时使用它们,还是只需要选择一侧,前端或后端?

英文:

Just want to get some suggestion on what would be best approach to create a real time application.
What architecture and libraries should be used on both sides

I have looked int to sockit.io for front end and channels for the django side, Do I have to use both of them or only one side front-end or back-end

答案1

得分: 1

只需在后端使用通道来处理 WebSocket 或类似的内容。然后你的前端可以通过它与后端实时通信。

英文:

Just use Channels in back-end side to handle websocket or something like that. Then your font-end side can realtime communicate with backend through it

huangapple
  • 本文由 发表于 2023年2月16日 02:15:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/75463910.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定