113 |
- introduce some new metadata flags for a synchronization partner which is (e.g.) of "source" or "target": |
- introduce some new metadata flags for a synchronization partner which is (e.g.) of "source" or "target": |
114 |
- isNewNodePropagator |
- isNewNodePropagator |
115 |
- isWriteProtected |
- isWriteProtected |
116 |
|
- add additional mechanisms: "how is the sync done exactly?" |
117 |
|
+ based on ident/checksum (this compares uniqueness) |
118 |
|
- based on ident/timestamp (this compares up-to-date-ness) |
119 |
|
- based on abstract rules (free, script, ..., maybe taken from a rulebase) ... |
120 |
|
... combining queries on metadata (e.g. flags) associated with the object (may also be stored inside the object itself for convenience) |
121 |
|
=> (example): |
122 |
|
$admin = new Person( admin => 1); |
123 |
|
$user1 = new Person(); |
124 |
|
$user2 = new Person( watched_by => $admin ); |
125 |
|
$context = new Context( postmaster => $admin ); |
126 |
|
$data = new Data( created_by => $user2, crud_hooks => { u => $admin } ); |
127 |
|
$admin-> |