Chapter 4. Using Remote Data and Media
While creating a LiveCode application, we need to think about the structure of the stack, its code, and the data it uses. Applications can be made when all the supporting data is within the application, but quite often, we want to display data that is out in the real world somewhere and also want to save information (a high-score list perhaps) to text files that are external to the application. You may also want to share information with other people or sync between apps or devices.
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 to remember interesting Internet-based media files
Tip
Do you want to save time typing code?
There are a lot of lines of code in this chapter. The code is shown along with explanations of each function and you could use this code to build up something that matches the corresponding sample...