I'm working on a part of a webapp where users will be able to change the same file together and see the changes each other do (just like Google Drive currently do). But I'm stuck on the "see the changes each other do" and merging files parts.
I've seen this post : How can I merge two versions of a file in PHP or JavaScript? and i've understood how to find le LCS between two part of a file. But I don't know what to do after this... When I'll got the LCS, I will have the part that are the same between the three files (mine, other user's, and original one) but what to do next ?
I can't use any system like SVN on this as there would be too many commit / update to keep things up to date on every user's browser.
Do you have any clue ?
Thank you !