Edit group and real-time file

Asked

Viewed 30 times

0

I want to develop for a client where he will select a group of employees and everyone can edit a file via web. He wants style as it occurs in Google Drive Documents, where the person types and the other person who is on another computer can visualize in real time it by typing or inserting image.

I understand that this can be done in Ajax, but I’m very lay. There is some example in Ajax itself and how far it could impact the server, since the system is multi user?

  • 1

    I think the best alternative is to use Websockets.

  • Hello Diego. Right. I’m going to search the subject on the internet using Websockets, because I’m a layman. Thank you.

1 answer

1


You did not mention the technology you are using. however MeteorJS falls like a glove to solve your problem.

But regardless of the set of technologies adopted by you, the solution with the best performance is to use a communication with the Server using WebSockets and in the Front-End some blibioteca Reactive.

On the Server side, I will list some examples.:

As to the Front-End, I also have some suggestions.:

An alternative to the use of WebSockets, would be the use of PouchDb with CouchDb and make a Replicação dos Dados, as well as escutar todas as alterações in the Document, however in this case, you would have to make a finer setting for the amount of synchronizations.

  • Hello Tobias. Actually I was still researching the best solution. I will take a look at the links passed by you. Thank you very much.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.