Hi,

On Mon, Jan 24, 2011 at 11:55 AM, Umashanthi Pavalanathan <
[email protected]> wrote:

>
>
> On Mon, Jan 24, 2011 at 11:31 AM, Luciano Resende <[email protected]>wrote:
>
>> On Sun, Jan 23, 2011 at 9:21 PM, Umashanthi Pavalanathan
>> <[email protected]> wrote:
>> >> We have been working on a new REST api a branch, and maybe
>> >> we could start prototyping some OpenSocial integration on top of that.
>> >>  Your help and contributions would be appreciated.
>> >>
>> >
>> > I will start by looking at the REST api branch and the code base.
>> >
>> >
>>
>> If we use a Open Social framework such as Shindig, does it require a
>> RDBMS as it's persistence repository (e.g Derby, MySQL)... or can it
>> be integrated with a JCR repository ?
>>
>
> Well. Simple answer is, the integration is independent of the persistence
> mechanism. No such requirements from Shindig and we can use the JCR
> repository or any other database.
>
> Small explanation:
> Apache Shindig[1] provides the following Service interfaces, for the basic
> OpenSocial concepts[3]:
> Person Service
> Activity Service
> AppData Service
> Message Service
> and handlers for each of them. When integrating with Shindig, what we have
> to do is to write our custom services and handlers (if required)
> implementing the Shindig services and bind them using guice. So, Shindig
> doesn't handle the back-end persistence. We can use our own data storage
> mechanisms and customize the Services provided by Shindig.
>

As the first step to integrate open social features into PhotArk using
Apache Shindig, it is required to build a social network back-end with
PhotArk and later it can be connected to the Shindig's Service Provider
Interfaces (SPI) [1].

In my opinion it is better to design an API for this social network
back-end, so that it can easily be expanded and new requirements in future
open social specifications can be incorporated easily. Basically there
should the following concepts in the API:
1. Person (user)
2. User Profiles
3. Relationship (eg: friends)
4. User Groups
5. Activity (user activities including uploading new photos, creating new
albums, commenting, tagging etc)
6. AppData
7. Messages

Shindig Java docs for the package org.apache.shindig.social  and it's sub
packages available at [2] would give more idea of such API.
If you agree with this approach, I would like to start building a Social API
for PhotArk and discuss more here.

Thoughts please?

[1] http://www.opensocial.org/page/building-an-opensocial
[2] http://shindig.apache.org/shindig-1.1.x/apidocs/index.html

Thanks,
~Umashanthi



>
>
> [1] http://shindig.apache.org/
> [2] http://shindig.apache.org/overview.html
> [3]
> http://svn.apache.org/repos/asf/shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/
>
>
> Thanks,
> ~Umashanthi
>
>
>
>> --
>> Luciano Resende
>> http://people.apache.org/~lresende
>> http://twitter.com/lresende1975
>> http://lresende.blogspot.com/
>>
>
>

Reply via email to