Hi All,

The way we follow to do the data synchronization between the BE and Mobile
client seems not acceptable because now even a single row of data changes,
we have to get the entire database downloaded again and again.

So I suggest we should track the updated timestamp in the BE app or we
should expose an API to get the latest updated timestamp. And there should
also be an API to return only the updated data in a sensible way once the
client app passes it's latest timestamp.

We should actually try to reduce the processing/data calls from the mobile
client as much as possible. We can also implement a SyncAdapter[1] in
android side and something similar to that on iOS side to make it more
reliable. But we have an extremely tight deadline.

So WDYT gyus?

[1] - http://developer.android.com/training/sync-adapters/index.html

Thanks
-- 
Kasun Dananjaya Delgolla

Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Tel:  +94 11 214 5345
Fax: +94 11 2145300
Mob: + 94 777 997 850
Blog: http://kddcodingparadise.blogspot.com
Linkedin: *http://lk.linkedin.com/in/kasundananjaya
<http://lk.linkedin.com/in/kasundananjaya>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to