用Python实现一个类似GoogleDocs的在线多人编辑服务,需要哪些知识?
天蓬老师
天蓬老师 2017-04-17 17:40:06
0
2
311

[问题描述]
主要是对此感到好奇,但是不甚明白其中原理,想做简单实现,实现其中核心功能(即意思到了即可)

  1. 其中的理论知识点?

  2. 可以参考的资料(中英文)?

[环境&重现]
Windows10+Python2.7.10
服务器环境时:Ubuntu14-Server

[补充]
熟悉Python的Tornado,Flask
在学习gevent

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
迷茫

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.

迷茫

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!