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-no...
[2]
https://issues.jboss.org/browse/AEROGEAR-1408
[3]
https://gist.github.com/lholmquist/81de9737b5c91367aa3c
[4]
https://gist.github.com/corinnekrych/8914290