Hi, http://www.raywenderlich.com/15916/how-to-synchronize-core-data-with-a-web-service-part-1
On Thu, Mar 6, 2014 at 10:15 AM, Niranjan Karunanandham <[email protected]>wrote: > Hi, > > +1 to what Kasun mentioned. Downloading the entire DB every time a change > is made is very expensive and from the mobile point of view it is consumes > a lot of bandwidth and processing power since the existing DB needs to be > reloaded again. Android will be able to do this in the background but iOS > app cannot do this. It will need the app to be running in the foreground. > > > On Thu, Mar 6, 2014 at 10:00 AM, Harshan Liyanage <[email protected]>wrote: > >> 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 >> >> > > > -- > > *Niranjan Karunanandham* > Senior Software Engineer - WSO2 Inc. > WSO2 Inc.: http://www.wso2.com > M: +94 777 749 661 <http:///> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Gayan Gunawardana Software Engineer; WSO2 Inc.; http://wso2.com/ Email: [email protected] Mobile: +94 (71) 8020933 Blog: http://gayanj2ee.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
