Imagine you created a game app and would like to store data for it.

Global Data: This data is available on a large scale, that is, it is
available to your application regardless of where it is placed. For
instance, if Jane and Jill both place your game application on their
profile, the global data set and retrieved will be exactly the same
for both Jane and Jill's copy of the game. This could be useful for
storing something like High Scores.

Instance Data: This data is available only to the specific copy
(instance) of the game (app). So if Jane and Jill both place your game
on their profile, the game will be able to store unique data. In this
case, Jane's game cannot access Jill's game's unique data storage
(instance Data) and likewise. An example use for this may be if a game
requires the 'state' of the game to be saved or you would like to keep
High Scores separated for each instance.

Person App Data: relates to a data store for an individual with
relation to the app on a global scale. Meaning that both Jill and
Jane's copy of the game will be able to access the same data for a
Person, but other applications will not have access to your
application's data for that person. The key here is that you're
storing data under a person with relation to an app. So if you try to
access that data for the same person from a different app, it won't
exist. An example use would be 'High Scores for Jill' (or jane), or
allowing users to save their game.

On Nov 10, 6:12 pm, Zach <[EMAIL PROTECTED]> wrote:
> I'm sure I'm just not looking in the right place, but I can't seem to
> find any description of what the differences between the Global,
> Instance, and Person versions of Persistent data are.  Can anyone
> explain what each one is?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial API Definition (was OpenSocial Developers)" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to