O'Reilly logo

Building Windows 8 Apps with JavaScript by Don Box, Brandon Satrom, Chris Sells

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7. App State

App state is the data associated with a user running an instance of your app. This data can be traditional document data, like a photo, spreadsheet, or text document, or it can be settings that guide the behavior of the app, like login information or account preferences. Depending on the kind of state it is, it can be stored as name–value pairs (e.g., settings) or as name–blob pairs (e.g., files). Some types of data, like the user’s login credentials or the data cached from the last time the user connected with the network, will build up over time and may even be shared among multiple devices via roaming. Some kinds of state, however, like the page the user is currently viewing, is going to be associated with a specific session on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required