Logging Device Tokens
Charles E Buchwald
charles at buchwald.ca
Thu Aug 9 13:13:30 EDT 2012
Hi Mike,
I guess I've just never dug deep enough into databases... so they aren't quite "stupid-easy" for me, yet...
If I have readily available hosting on a LAMP server, and some basic network communication skills, can you (or anyone else here) suggest a specific LC database library to help me get to the next steps with logging and/or push notifications?
And thanks for the ideas about asynchronous methods... I wouldn't have thought about it that way.
- Charles
On 2012-08-07, at 12:32 PM, Mike Kerner <MikeKerner at roadrunner.com> wrote:
> 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
--
Charles E. Buchwald
http://buchwald.ca
Vancouver / Mexico City / NYC
Member of the 02 Global Network for Sustainable Design • Connect on LinkedIn • Follow me on Twitter
More information about the use-livecode
mailing list