[问题描述]
主要是对此感到好奇,但是不甚明白其中原理,想做简单实现,实现其中核心功能(即意思到了即可)
其中的理论知识点?
可以参考的资料(中英文)?
[环境&重现]
Windows10+Python2.7.10
服务器环境时:Ubuntu14-Server
[补充]
熟悉Python的Tornado,Flask
在学习gevent
迷茫2017-04-17 17:42:06
I think the front-end of multi-person editing is harder than the back-end. In fact, multi-person editing is essentially similar to a chat room. Synchronization between multiple people can be achieved using websocket, and the backend implements a service similar to echo server. The front-end editor feels like it requires a lot of code, and it depends on how rich text you want to achieve.
迷茫2017-04-17 17:42:06
First you need an asynchronous framework, then you will use websocket, and the rest is to use the text editor. Finally, how often is the communication timed? Is it a process of waiting for the user to complete the input before sending or typing? It is sent once for each character input.