[aerogear-dev] Sync Data model

Corinne Krych corinnekrych at gmail.com
Mon Feb 10 07:51:34 EST 2014


On 10 Feb 2014, at 13:41, Daniel Bevenius <daniel.bevenius at gmail.com> wrote:

> Hi, 
> 
> I've done some work on [1] in regards to coming up with a common sync data format for our clients, but I and messed it up [2]. Long story short is that I did not take into account some of client languages features. So here is a new suggestion that will hopefully work with all our client languages:
> 
> public interface SyncObject<T, ID> {

So this is a new voc proposal to replace Document.
+1 on my side

>     ID objectId();

+1
objectId will work on iOS (better than just id)

>     String revision();
>     T content();
> }
> 
> What do people think about this?
> 
> 
> [1] https://issues.jboss.org/browse/AEROGEAR-1406
> [2] https://github.com/aerogear/aerogear.org/commit/5e81e5526b5850485eeb83a8ff7ddc1e4d6d2c40
> 
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev




More information about the aerogear-dev mailing list