How to do live updating similar to Google Docs?

前端 未结 11 833
孤街浪徒
孤街浪徒 2021-01-30 09:07

I want to do something very similar to Google Doc\'s live updating - where all users can \"immediately\" see the actions of the other users in the doc.

To achieve this,

11条回答
  •  庸人自扰
    2021-01-30 10:03

    Check out google mobwrite. It's a drop-in library that enables collaborative editing of html forms via operational transformation.

    Getting events pushed back from the server is the easy part, there are many ways to do it. Ensuring that the state is consistent across all clients, that's the hard part. That's where the operational transformation algorithm comes in.

提交回复
热议问题