• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
OTLY: A framework for realtime collaboration
 

OTLY: A framework for realtime collaboration

on

  • 701 views

Operational Transformation is a technique for synchronizing changes to a document among different clients. It is widely used in different technologies both open and closed source (e.g., ShareJS, ...

Operational Transformation is a technique for synchronizing changes to a document among different clients. It is widely used in different technologies both open and closed source (e.g., ShareJS, Apache Wave and Google Drive Realtime API) OTLY is a framework based on Operational Transformation that is being developed by XWiki SAS as a refactoring of its realtime editor. OTLY aims at providing a common foundation for contributing collaborative document models and binding to widely used editors. OTLY is targeting both Java and Javascript for the client side, and Java on the server side.

Statistics

Views

Total Views
701
Views on SlideShare
436
Embed Views
265

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 265

http://www.xwiki.com 264
http://plus.url.google.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    OTLY: A framework for realtime collaboration OTLY: A framework for realtime collaboration Presentation Transcript

    • OTLY A framework for realtime collaboration Fabio Mancinelli fabio.mancinelli@xwiki.com Operational Transformation is a technique for synchronizing changes to a document among different clients. It is widely used in different technologies both open and closed source (e.g., ShareJS, Apache Wave and Google Drive Realtime API) OTLY is a framework based on Operational Transformation that is being developed by XWiki SAS as a refactoring of its realtime editor. OTLY aims at providing a common foundation for contributing collaborative document models and binding to widely used editors. OTLY is targeting both Java and Javascript for the client side, and Java on the server side. www.ow2.org Twitter #ow2con
    • OT Everywhere ! ● NodeJS based – Open Source ● ● TogetherJS ● Etherpad ● ● ShareJS ...a lot more ! Java based – Open Source ● ● ● Apache Wave OpenCoWeb Proprietary ● Google Drive Realtime API www.ow2.org Twitter #ow2con
    • OTLY ● Framework targeting the Java world ● Based on Operational Transformation (OT) ● Embeddable in Java programs ● Extensible ● Simple API www.ow2.org Twitter #ow2con
    • What is OT ? ● Optimistic concurrency control mechanism ● Used in high-latency, low bandwidth systems ● Basic blocks : operations + transformations www.ow2.org Twitter #ow2con
    • What is OT ? xform(c, s) = (c', s') | c ∘ s' = s ∘ c' C S' S C' www.ow2.org Twitter #ow2con
    • What is OT ? xform(c, s) = (c', s') | c ∘ s' = s ∘ c' C S' S C' www.ow2.org Twitter #ow2con
    • What is OT ? ... www.ow2.org Twitter #ow2con
    • OTLY Architecture ● Document models ● ● Bindings ● ● For supporting different types of operations : text, rich text, spreadsheets, etc. For supporting different types of editors : HTML text area, WYSIWYG editors, etc. GWT for simplifying code sharing on Javascript clients and Java server www.ow2.org Twitter #ow2con
    • OTLY API ● Simple API (inspired by ShareJS) ● Client side (JS) – ● otly = new otly.Otly() ; pad = document.getElementById("pad") otly.open("simpletext", "foo", function(doc) { doc.bind(pad, "textarea") ; }) ; Client side (Java) – JFrame frame = ... otly = new Otly() ; DocumentModel documentModel = otly.open("simpletext", "foo") ; documentModel.bind(frame) ; www.ow2.org Twitter #ow2con
    • Conclusion ● Extensible architecture ● ● ● Helps to build a community that provides new document models and bindings We are working on a reference implementation that will work with the XWiki WYSIWYG + other popular simple text editors and will be integrated in XWiki Issues ● OT is complex to get it right ● GWT is very heavyweight www.ow2.org Twitter #ow2con
    • Acknowledgements ● ● Some of the work has been done in the context of the RESILIENCE Project OTLY is based on the initial work done in the context of the Wiki3.0 project by the INRIA Score Team and XWiki SAS www.ow2.org Twitter #ow2con