Hi,

I totally agree with you Kasun. We should try to minimize the network
calls, heavy processing in the client side. Especially in mobile clients.
Furthermore, in sometimes if a mobile client is connected to the internet
via its mobile network, they wont like that idea of downloading an entire
DB.

Best Regards,

Lakshitha Harshan
Software Engineer
Mobile: *+94724423048*
Email: [email protected]
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.


On Wed, Mar 5, 2014 at 10:17 PM, Kasun Dananjaya Delgolla
<[email protected]>wrote:

> 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
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to