Hey Basit,

The OpenSocial spec actually tries very hard *not* to tell you which fields
you need in your system; The spec was created by looking at the common
elements of the larger social network sites and took the popular fields from
that; But almost every field in it is optional.

The 'must have' fields are:

   - id
   - name
   - profile url
   - (not required but makes social apps more useful) thumbnail url

Everything else is optional, and if your using shindig (
http://incubator.apache.org/shindig) you can configure which fields your
supporting by editing shindig/config/container.js. The gadgets can then
check for the available fields through the OS API calls.

Now you don't have to model your DB after the OpenSocial spec, again
presuming you would use shindig (there's a php and java version available
btw, and also a c# port at http://code.google.com/p/baadal/), you implement
3 basic classes that tie shindig to your local db; In those classes your
free to do what ever translation between your own data structure and the
data format that shindig expects.

Hope that helps!

   -- Chris

On Sat, Dec 20, 2008 at 3:04 AM, Basit <[email protected]> wrote:

>
> i was wondering, if anyone head any quick erd for me, because i was
> creating open social site and i want to see what fields  are requried
> or need to be saved in database and bit kind of confused from google
> specs.. can you please provide maybe erd or somethign to help me.?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" 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-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to