Hi Barry, The global persistent store really needs the Data APIs to function correctly. From the JS APIs, you're only able to read this data because it would be trivial for someone to dynamically change an application's javascript code to write malicious/junk data into the global store. From the Data APIs, however, you'll be able to create/ update/delete as much as you want. I expect that the client libraries that we release will have some helper methods to make this task pretty easy, but this naturally depends on the Data APIs being launched...
For the time being, global app data can be faked by putting an XML document online somewhere containing your data, and then using the _IG_FetchXmlContent to pull this file into your application (details at http://code.google.com/apis/gadgets/docs/remote-content.html#Fetch_XML). Since the _IG_Fetch calls are cached, you can determine how much load you put on your server, and you can even host this file at googlepages.com if you want to bypass hosting it altogether. Of course this doesn't have the flexibility of giving you CRUD access to data keys, so the utility of this really depends on how often you're updating global data. Hope this helps, ~Arne On Dec 6, 2:47 pm, Barry Welch <[EMAIL PROTECTED]> wrote: > So, I want to use the Global Persistant Store to store a bunch of > application data... all the data that the user will need in the app. I > want to store all this data on Google's servers because I don't want > to shoulder the burden of having a backend server to serve up all my > data. Google can do it for me! (As long as I can cram all my data into > key/value pairs, that is) > > So, I want to load all this data one time and never have to load it > again, even if I change my spec. Heck, even if I create a brand new > spec, I want to point that to the same set of global data I've loaded > and keep rolling. I don't want that data to ever die (unless I delete > it manually), even if I delete my app spec. I also want to be able to > update and delete data for a particular key. > > Wheres the CRUD screens for this data store? Is it coming? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial API Definition" 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 -~----------~----~----~----~------~----~------~--~---
