0.0.45 • Published 10 years ago

osync v0.0.45

Weekly downloads
13
License
MIT
Repository
github
Last release
10 years ago

Build Status

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

10 years ago

0.0.44

10 years ago

0.0.43

10 years ago

0.0.42

10 years ago

0.0.41

10 years ago

0.0.40

10 years ago

0.0.39

10 years ago

0.0.38

10 years ago

0.0.37

10 years ago

0.0.35

10 years ago

0.0.34

10 years ago

0.0.33

10 years ago

0.0.32

10 years ago

0.0.31

10 years ago

0.0.30

10 years ago

0.0.29

10 years ago

0.0.28

10 years ago

0.0.25

10 years ago

0.0.24

10 years ago

0.0.23

10 years ago

0.0.22

10 years ago

0.0.21

10 years ago

0.0.20

10 years ago

0.0.19

10 years ago

0.0.18

10 years ago

0.0.17

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago