Skip to content

Instantly share code, notes, and snippets.

@marcelklehr
Created August 9, 2012 16:54
Show Gist options
  • Save marcelklehr/3305844 to your computer and use it in GitHub Desktop.
Save marcelklehr/3305844 to your computer and use it in GitHub Desktop.
                                     [diff algorithm]
server ↔ Socket.io  → *changeset* →  Client controller  → *new contents* →  Editor
                 \                   /              \                           /
                  `←  *changeset*  ←´                `←  *onchange:contents*  ←´

or just

   Server  |  Client(s)
           |
server ↔ shareJS ↔ Editor
           |

(see http://sharejs.org/)

@marcelklehr
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment