Please log in to watch this conference skillscast.
You often want to build an app as quickly as possible. To get some kind of MVP in the hands of users, giving them value and something for you to incrementally improve. Most features can come later, but if you ever intend to offer a shared editing experience of any kind, you really need to think about it up front.
At Threads Styling they were faced with such a prospect when planning their Social Story builder. Having worked with CMSs in the past, they knew the pain of managing document locks with all their edge cases. They also knew that eventually the use case will arise to concurrently edit the document, and if you haven’t planned for it, it is a monumental task.
By treating the document as a stream of JSON patch changes from the very beginning, they were able to offer real-time collaborative editing with conflict resolution smoothly handled by an Operational Transformation algorithm. In this talk, Jason will build a simple, but working example of a shared document using our open source library.
YOU MAY ALSO LIKE:
- Reactive Programming Evolution: From Genesis, Beyond React (SkillsCast recorded in July 2018)
- WebAssembly Deep Dive with Brian Sletten (in London on 21st - 22nd November 2019)
- The Sonic Contender (in London on 28th October 2019)
- Free Code Camp - October (in London on 29th October 2019)
- Automating Elaborate-Transform-Load for Busy Data Scientists (SkillsCast recorded in October 2019)
Concurrent Editing with JSON Patch and Operational Transformation
Jason’s passion for the digital world has taken him across the entire spectrum of the creative process, from conceptualisation to implementation. Jason is now a Principal Developer at Threads Styling, building the system to manage social content that will power the future of chat commerce. While Jason is engaged in all stages of the development of this mission-critical application, he also finds time to get his colleagues playing the odd board game at lunch too.