Chapter 4. Using Remote Data and Media
Data needs to get out more!
Applications can be made where all of the supporting data is within the application, but quite often we want to show data that is out in the real world somewhere, and also to save information (a high score list perhaps) to files that are external to the application.
When creating a LiveCode application we need to think about the structure of the stack, its code, and the data it uses.
In this chapter we will:
Look at the various ways a stack might be structured
Think about where code should go
Write to and read from external text files
Create a scrapbook-like app for remembering interesting Internet based media files
Tip
Don't forget to download the sample files!
There are a lot of lines of code in this chapter. The code is shown along with explanations about each function, and you could build up something that matched the corresponding sample file. But it would be very easy to make a mistake while transcribing the scripts, both in...