Q. data stacks and app design
Ken Ray
kray at sonsothunder.com
Thu Oct 3 21:53:01 EDT 2002
Alex,
Why don't you just maintain the data in an external text file? Then, you can
read and write it as simply as:
put url ("file:" & tFileName) into tData
and
put tData into url ("file:" & tFileName)
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
----- Original Message -----
From: "Alex Rice" <alex at mindlube.com>
To: <use-revolution at lists.runrev.com>
Sent: Thursday, October 03, 2002 7:35 PM
Subject: Q. data stacks and app design
> I am writing an app which is a long survey followed by a couple of long
> reports. I want to save the state of the survey to disk and have
> different projects which the user names/saves/restores. Each project is
> just the set of answers to the survey questions.
>
> A SQL database is not needed. In the SQL mindset, this data would have
> a handful of rows and maybe too many columns to deal with-- many
> hundreds. I'm sure it could be normalized better, but there is not
> enough data to warrant a SQL database.
>
> Even the Serendipity Library SDB database looks like overkill for this
> app.
>
> So I think I need to use a data stack. What's the most elegant way to
> get cards and/or stacks to write all it's state out to disk, which I
> can go check on later from another stack, and write a report from the
> responses? I hope this question isn't too vague. I'd be glad to tell
> more about the application if it's not clear what I'm asking.
>
> Thanks in advance!
>
> Alex Rice, Software Developer
> Architectural Research Consultants, Inc.
> alrice at swcp.com
> alex_rice at arc.to
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list