For further actions, you may consider blocking this person and/or reporting abuse
Read next
Cloud Concept Assignment
OpsyOG -
Autofac ContainerBuilder in ASP.NET Core – What You Need To Know
Dev Leader -
Laravel 11 : Custom package does not generate CSRF token.
faisal ahmed -
Introdução às APIs, REST e SOAP: Compreendendo os Pilares do Desenvolvimento Web Moderno
Bruno Pizol Camargo -
Top comments (1)
Operational Transformation is focused around the concept of creating robust collaborative experiences through incremental changes in your data.
Broadly, an Operational Transform includes an operation (INSERT, DELETE, etc.) and the content to push to that operation.
Let's take Google Docs as an example.
We want to add the word "hello" at index 56 in the document (represented here as a simple string). The Operation would look something like:
This assumes that
InvokeOperation
would first update the local representation of your document, then call your API with the correct information.Your API then must handle receiving these Operations and queuing them to modify the document.
Note: this is very similar to Redux, which uses the concept of Operational Transform for state management. An Operation is an "Action", which invokes a "Reducer", which then modified the actual state. You "dispatch" Actions to modify the data.