The operation queue: A content editing pattern for JavaScript

Managing concurrent edits in a collaborative content management system.