Hey cmnajs,

OpenSocial in the basis has the notion of a 'Viewer' (the person looking at
the web page) and the 'Owner' (the owner of the page).

The owner could be a person, but could also just as well be a website (the
model Google FriendConnect uses for instance), a company, a contact in a CRM
system, a picture ... or anything really that people can socialize around.
As far as fields go, the only required fields within OpenSocial are an ID, a
name, a thumbnail_url (picture) and profile_url (location of their page),
all the other fields are optional.

In other words OpenSocial tries to be as neutral as possible about the types
of sites that can implement it, there's no restrictions at all about what an
entity is (a person, website, etc) and what fields are associated with it
(could be just id & name, or as many fields you can support).

You connect shindig to your database this by implementing the People,
AppData and Activities interfaces (found in
http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/src/social/spi/),
people is required and appdata and activities are, well very nice to have if
you want to support a wide range of applications, but not required.

There's a practical example of how to do this in Partuza (an example SNS to
demo how to use php-shindig), which you can find at
http://code.google.com/p/partuza (and you find the classes that implement
those interfaces in
http://code.google.com/p/partuza/source/browse/#svn/trunk/Shindig).

Hope that helps to get you started!

   -- Chris

On Fri, Apr 10, 2009 at 2:47 PM, CMNAJS <[email protected]> wrote:

>
> i started discovering opensocial just after i had my first experience
> with Google Gadget Ads and then Google Gadgets.
> Up till now i know may be right or wrong.. that in opensocial we
> deploy the opensocial container to a social network and then the
> gadgets are supported there like apps in facebook. we can do this by
> implementing shidding.
>
> well i need a bit clearance about the social network that can have the
> opensocial container. means the specification.. i am a php developer
> so i need a root level understanding. is there a specified schema for
> the features that should be avaiable.. like specific info fields of
> user.. his profile.., friend relationship ..
>
> i really want to know and need someone to give a better start for
> OpenSoical
> >
>

--~--~---------~--~----~------------~-------~--~----~
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