I am developing a mobile application and I am not sure how to do this. I am going to use Appcelerator Titanium for iPhone.
I don't want the user to make calls to online database whenever there is a change in the local SQLite database on users phone.
I want to do this so that users can work offline.
Later, when the user press a button, I want all the changes to be copied to an online database (only things that have changed).
I dont know what would be the best way to go about it.
One obvious way is, everytime I sync, I copy the entire database from phone to the webserver. But somehow it seems illogical or maybe not.
Looking for suggestions.