Jobber
DESCRIPTION
Jobber is a tool for conducting interviews with programmers over the internet.
JAVASCRIPT SYNCHRONIZATION
Given a patchLevel, previousData and currentData:
- Diff serverData and localData to generate patch1.
- Post patchLevel and patch1 to the server.
- Receive back patch2 and patchLevel.
- Apply patch2 to serverData.
- Diff serverData and localData to generate patch3.
- Apply patch3 to localData.
Things the editor needs to do:
- When a user switches the current document, all clients need to update to
the new one.