I'm storing application preferences in the datastore, they come in a 
variety of types.  As I see it I've got three choices for implementation:

    * Name / Blob
      -- "general" has a json encoded object of all of the sub-settings
    * Name / ID / Lots of Fields
      --  Where ID = "general" or "user" (etc.) and different fields in
      each entity
    * Name / ID / Key  / Value
      -- Where you  query out all of the "user" settings and
      re-construct an object from it. 

My gut feel is that #2 is preferable, since it avoids double encoding 
the data and doing a query out of a large number of records in the later 
case.

Thanks,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to