Logging Device Tokens

Mike Kerner MikeKerner at roadrunner.com
Thu Aug 9 15:14:35 EDT 2012

If you've ever used an array or set up a background so that you can store
records in a stack, you have used a database.  I'm sure you already know
that.  If you've ever used a spreadsheet, you have used a database.  If you
have ever created a delimited file to store data, you have used a database.
 Databases are just means of storing data in an organized way.

There are several really easy ways to get started.  If you want to go
cheap, then check the Resources button in LC and there will be example
stacks that use any of the database back ends that LC supports.  You could
certainly store your data in cards in a LC stack, too.

mySQL is a database library/engine that just uses tab-delimited files to
store records, but uses SQL syntax to interact with them.  If you are ok
with spending some money to get a library that will put an extra layer
between you and having to learn one of the many database languages, then
check with Andre Garzia (on the list) about his DB Library, or in the RR
store there is SQLYoga.  Both of them will work for you.

As for making PUSH happen, there has been an extensive discussion on this
list about that very topic, including John Craig's APNSAssistant stack,
that makes things simpler.

HTH, and if you know how to find extra help when you need it.
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