您如何编写基于网络的实时协作工具,例如 google docs? [英] How do you write a real-time webbased collaboration tool such as google docs?

查看:23
本文介绍了您如何编写基于网络的实时协作工具,例如 google docs?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的很好奇

如何编写诸如 google docs 之类的协作工具?

How one would go about writting a collaboration tools such as google docs?

我能想到的最接近的事情是编写一个像聊天一样的消息传递系统,然后来回发送消息,以便每个客户端进行自我更新.

The closest thing that I can think of is to write a messaging system like a chat and then send messages back and forth so that each client updates itself.

你知道他们编写这样一个小工具的教程/演示吗?

Do you know of a tutorial / demo where they program a small tool like this?

他们使用什么工具来开发此类应用?

What tools do they use to do this kind of apps?

TIA 用于您可以提供的任何指针.

TIA for any pointers you can provide.

推荐答案

Google Docs 通过 操作转型.

Google Docs works via operational transformation.

操作变换的基本思想是根据之前执行的并发操作的效果,对编辑操作的参数进行变换(或调整),使变换后的操作达到正确的效果,保持文档的一致性.

The basic idea of operational transformation is to transform (or adjust) the parameters of an editing operation according to the effects of previously executed concurrent operations so that the transformed operation can achieve the correct effect and maintain document consistency.

Google 制作了视频,介绍了 Google Wave 的运营转型;这项技术已移植到 Google 文档中.

Google produced a video about operational transformation for Google Wave; this technology was ported to Google Docs.

关于技术,请查看以下链接:

As for technology, check out the following links:

这篇关于您如何编写基于网络的实时协作工具,例如 google docs?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆