[aerogear-dev] Sync Data model

Corinne Krych corinnekrych at gmail.com
Mon Feb 10 07:56:46 EST 2014


Here is a new gist [1]
Link to the ML discussion [2] 

++
Corinne
[1] https://gist.github.com/corinnekrych/8915378
[2] http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-DataSync-or-SyncPipe-API-proposal-td6220.html
On 10 Feb 2014, at 13:51, Corinne Krych <corinnekrych at gmail.com> wrote:

> 
> 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