java - Operational Transform Implementation (not javascript) -
i'm looking implement multi-user operational transform plain-text based changes on server-side on web-site.
is there non-javascript implementation can recommend?
consider google-diff-match-patch - diff, match , patch libraries plain text:
"the diff match , patch libraries offer robust algorithms perform operations required synchronizing plain text."
diff: compare 2 blocks of plain text , efficiently return list of differences.
diff demo match: given search string, find best fuzzy match in block of plain text. weighted both accuracy , location.
match demo patch: apply list of patches onto plain text. use best-effort apply patch when underlying text doesn't match.
patch demo available in java, javascript, c++, c#, objective c, lua , python. regardless of language, each library features same api , same functionality. versions have comprehensive test harnesses.
you can find here.
Comments
Post a Comment