Shindig includes a sample container handler (xml file driven) that
shows all the logic:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/src/socialdata/samplecontainer/
The idea is that a container would create their own handler, edit the
shindig/php/src/config.php and edit the 'handlers' => '' line, put in
your class name there .. put the classes in the path shindig searches
(for instance shindig/php/src/socialdata seems an appropriate place),
and your all set.
There's a DB driven example handler in partuza:
http://code.google.com/p/partuza/source/browse/trunk/Shindig/PartuzaHandler.php
http://code.google.com/p/partuza/source/browse/trunk/Shindig/PartuzaDbFetcher.php
At the moment the code is the documentation, so thats where you'd find
it :)
-- Chris
On May 23, 2008, at 9:11 AM, Lini H - Clarion, India wrote:
So now the requests that we would entertain will solely depend on
our opensocial data implementation. Now I wanted to know where are
all the request types field names defined. Say for e.g. to get the
friends of the owner, the request handler is "FETCH_PEOPLE" and the
type is "OWNER_FRIENDS", where are these values defined as they
define the course of actions to be taken by the database.