Understanding Common Terms of Windows 7 Phone


What is Application State in Windows 7 Phone?

Essentially Application State is a Structured Data. If data returned by a Web Service is being displayed on multiple pages with multiple views then we can call that data an Application State.

CommTWPhone1.gif

So, Application State is data returned by a Web Service and that data can be used in multiple views at the application level.

What is Page State in Windows 7 Phone?

It is a common scenario that a user fills in a value on an application page and navigates away from that page. On returning to the page the user expects the values to be persisted on the application page. Page state is the visual persisted state of the application page.

CommTWPhone2.gif

What is Tombstoning Windows 7 Phone?
 
Tombstoning is a way to persist data after an application has terminated.

  1. Data can be persisted for an individual application page
  2. Data can be persisted for the state of the entire application.

When the user again navigates back then the application gets recreated and all the persisted data is restored.

CommTWPhone3.gif

What is State Dictionaries Windows 7 Phone?

Dictionary objects are used to store key/value pairs. A Dictionary in a Windows 7 phone is used to restore the Application state. At the time of Tombstoning the Dictionary gets preserved.

CommTWPhone4.gif

Next Recommended Readings