[aerogear-dev] DataSync or SyncPipe API proposal
Corinne Krych
corinnekrych at gmail.com
Mon Feb 10 06:38:49 EST 2014
Hello Guys,
Following discussion on ML thread [1], and JIRA discussion [2] (sorry guys I catched up the discussion late, I wasn’t watching the JIRa ticket so i didn’t get notifications) here is the 2 gists we have:
1. DataSync (JS naming) [3]
2. SyncPipe(ios naming) [4]
I guess we should call them the same and agree on a name. I like to use ‘pipe’ in the naming just to recall it’s async and going through network. I found DataSync a too generic term which may lead to confusion. This is not the same object that will save data offline and trigger sync.
Main differences are: in iOS one I defined a readAll method. Also for save/update I define a third callbacks ‘conflict’ which take 3 arguments .
@summers do you have a gist for java API?
thoughts?
++
Corinne
[1] http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-sync-To-pipe-or-not-to-pipe-td6135.html
[2] https://issues.jboss.org/browse/AEROGEAR-1408
[3] https://gist.github.com/lholmquist/81de9737b5c91367aa3c
[4] https://gist.github.com/corinnekrych/8914290
More information about the aerogear-dev
mailing list