英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论