hugooguh
asked on
Online/offline database sync in Flash Builder
I am working on an AIR app which should work in both online and offline model (client side on Ipads). The user can do various actions, while offline and the results would get saved in a local DB. The same needs to get synced up with a MySql DB once the user goes online using PHP.
I am programming the UI in Flash builder (flex). The web database is written for Php/Mysql/Apache
I am looking for some tutorials / demos / how-to on the subject.
Thanks
I am programming the UI in Flash builder (flex). The web database is written for Php/Mysql/Apache
I am looking for some tutorials / demos / how-to on the subject.
Thanks
Some ideas are described at http://forums.adobe.com/message/943813 but I think http://www.adobe.com/devnet/coldfusion/articles/offline_air_orm.html isthe starting point you are looking for.
ASKER
Thanks but I am looking for a solution in a Air/PHP/MySql environment.
I am using AIR local SQLLIte DB
ASKER
How can you sync up the local SQLLite database with a distant MySql DB once the user goes online ?
In AIR we have network monitoring API you can add listener and as soon as you will detect connection upload your file into server or create dump DB script
ASKER
I've requested that this question be deleted for the following reason:
No solution found
No solution found
Why do you want to close this question without explanation what is not working for you?
ASKER
Well, I still don’t know what is the best script/procedure/best practice to synchronize an Ipad/SQLLite to a distant Linux/MYSQL database. How does the Ipad application knows what is the newest data to Insert/update on both databases.
Maybe I’m not clear enough. I know my English is not optimal.
Thanks anyway
Maybe I’m not clear enough. I know my English is not optimal.
Thanks anyway
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great! Thanks for the info. But what about the data updated by other users in the distant database. How can we refresh the local database efficiently (ie without importing all the data or comparing all the timestamps every time a user gets online?)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
So, you can accept #36981055 and #36972036