Commit 04e727d0 authored by Dave Griffiths's avatar Dave Griffiths
Browse files

docs

parent 677a5d92
...@@ -34,6 +34,7 @@ other clients. ...@@ -34,6 +34,7 @@ other clients.
In this way, data changes are merged and propagated through the system. In this way, data changes are merged and propagated through the system.
Files can be associated with attributes, and are synced (e.g. images)
Syncing algorithm Syncing algorithm
----------------- -----------------
...@@ -44,6 +45,7 @@ Sending data from client to server is all about dirty flags: ...@@ -44,6 +45,7 @@ Sending data from client to server is all about dirty flags:
|-------------------------------|------------------------------| |-------------------------------|------------------------------|
| Data edited or created - cause entities and attributes to be flagged as 'dirty' | | | Data edited or created - cause entities and attributes to be flagged as 'dirty' | |
| For each dirty entity, send all dirty attributes | Return message to confirm reciept | | For each dirty entity, send all dirty attributes | Return message to confirm reciept |
| Clean dirty flags on returned message | |
| | Overwrite all dirty attributes, increment version number | | | Overwrite all dirty attributes, increment version number |
Receiving changes from the server to the client is all about version numbers: Receiving changes from the server to the client is all about version numbers:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment