0.0.45 • Published 9 years ago
osync v0.0.45
OSync - Javascript object synchronization
Transparently synchronize Javascript objects across application and clients
OSync provides object synchronization based on uris:
var object1 = new RemoteObject({
_uri: '/remote/1',
property: false
});
var object2 = new RemoteObject({
_uri: '/remote/1',
property: false
});
object1.property = true;
assert(object2.property === true); // object2 will automatically update property
Support
Nested properties:
remoteObject.object.array[0].object2.property = true;
Array modifications:
remoteObject.object.array.push(...);
remoteObject.object.array.pop(...);
remoteObject.object.array.shift(...);
remoteObject.object.array.unshift(...);
remoteObject.object.array.splice(...);
Nested remote objects:
var object = new RemoteObject({
_uri: '/remote/1',
property: false,
object: new RemoteObject({
_uri: '/remote/1',
property: false
})
});
object.array.push(new RemoteObject(...));
TODO:
- Server MessageBus bridge
- Extend remote object with new properties
0.0.45
9 years ago
0.0.44
9 years ago
0.0.43
9 years ago
0.0.42
9 years ago
0.0.41
9 years ago
0.0.40
9 years ago
0.0.39
9 years ago
0.0.38
9 years ago
0.0.37
9 years ago
0.0.35
9 years ago
0.0.34
9 years ago
0.0.33
9 years ago
0.0.32
9 years ago
0.0.31
9 years ago
0.0.30
9 years ago
0.0.29
9 years ago
0.0.28
9 years ago
0.0.25
9 years ago
0.0.24
9 years ago
0.0.23
9 years ago
0.0.22
9 years ago
0.0.21
9 years ago
0.0.20
9 years ago
0.0.19
9 years ago
0.0.18
9 years ago
0.0.17
9 years ago
0.0.16
9 years ago
0.0.15
9 years ago
0.0.14
9 years ago
0.0.13
9 years ago
0.0.12
9 years ago
0.0.11
9 years ago
0.0.10
9 years ago
0.0.9
9 years ago
0.0.8
9 years ago
0.0.7
9 years ago
0.0.6
9 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago