Logging Device Tokens
Mike Kerner
MikeKerner at roadrunner.com
Tue Aug 7 13:32:14 EDT 2012
Databases are so stupid-easy that I am using a DB. I've tried both an
angry hard-core DBMS and LC connected to <censored/>. Both work great. If
you are scared of/inexperienced with databases, then there are several LC
database libraries that will make that problem go away.
I think you guys are overthinking this. You are right that the server side
is the hard part, but there are lots of ways to fix that:
a) Implement an HTML server - there are several examples, and somebody
(sorry, forgot who) has a LC Server hosting service, if you want to keep it
all in LC.
b) Think about it - the communication of the token and notification prefs
does not have to be real-time i.e. this very millisecond. That leaves you
with thousands of possibilities. For example, you could generate a file on
the mobile device, encrypt it, then use one of the dropbox externals to
upload it. Then your "server" can pull the file/data, decrypt it, and
update the database at your leisure, or half-a-second later, whichever
suits you better.
c) Pick some other asynchronous method to transmit the data from the
handheld.
HTH
Mike
--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
More information about the use-livecode
mailing list