Logging Device Tokens

Peter Haworth pete at lcsql.com
Thu Aug 9 16:57:10 EDT 2012


Hmmm, I'm afraid I have to disagree with almost all of that :-)

Arrays, cards, csv files, spreadsheets - none of them are databases other
than in the sense that they store data. They have no structure, no data
integrity enforcement, no inter table relatioships, no ACID compliance, nor
any of the other fuctions provided by a real database.

Not saying that they don't have their uses, but they ain't databases.

Also, neither mySQL nor any other SQL compliant database uses tab delimited
files to store data. It may come into lc that way but the internal file
format is way more complicated than that.

Pete
On Aug 9, 2012 12:14 PM, "Mike Kerner" <MikeKerner at roadrunner.com> wrote:

> 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."
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list