New to LiveCode but not to code.

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jeremy
Posts: 1
Joined: Wed May 16, 2012 8:24 pm

New to LiveCode but not to code.

Post by jeremy » Wed May 16, 2012 8:32 pm

So I have made a web app in (PHP/MySQL). I want to basically convert that app to iPad/Droid tablets.
It looks like LiveCode will do almost everything I need to make this happen. One huge question that is a deal breaker is...
Is it possible in LiveCode to sync databases?
Meaning if the user of an iPad/Droid doesn't have internet connection, information is stored locally. Then as soon as an internet connection is detected it dumps all data saved "offline" to an online MySQL database.
Thanks in advance!
Jer

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: New to LiveCode but not to code.

Post by shaosean » Wed May 16, 2012 10:17 pm

You would store it locally in your app's Document folder in to a SQLite database (or just use an external stack).. Once you have a connection back to the external database, you would need to manually go through what is in the local database and send it to the external database (and then empty out the local database for the next time)..

Post Reply