Difference between revisions of "Social Networking Library"

From Gcube Wiki
Jump to: navigation, search
(Architecture Scenario)
(Architecture Scenario)
Line 17: Line 17:
 
The gCube Social Networking Library is the 'bridge' between your gCube Applications and the social networking facilities.  The social networking facilities exploit a NoSQL data store for their storage. Specifically an Apache Cassandra data store. Figure 1 present the place of the Social Library in a simplified gCube Portal architecture.
 
The gCube Social Networking Library is the 'bridge' between your gCube Applications and the social networking facilities.  The social networking facilities exploit a NoSQL data store for their storage. Specifically an Apache Cassandra data store. Figure 1 present the place of the Social Library in a simplified gCube Portal architecture.
  
[[Image:Social library.png |frame|center| Figure 1. Social Library in the simplified gCube Portal  Reference Architecture]]
+
[[Image:Social library.png |frame|left| Figure 1. Social Library in the simplified gCube Portal  Reference Architecture]]
  
 
== How to use the gCube Social Networking Library (SNL) ==
 
== How to use the gCube Social Networking Library (SNL) ==

Revision as of 23:29, 13 December 2012

Overview

The purpose of this document is to provide instructions for developers wishing to exploit Social Networking from within their applications.

The gCube Social Library, so far, provides methods for:

  • Publishing Users Posts;
  • Retrieving Users Feeds, Comments, Likes;
  • Managing Users Connections;
  • Managing Users Notifications;
  • Publishing Application Posts.

Architecture Scenario

The gCube Social Networking Library is the 'bridge' between your gCube Applications and the social networking facilities. The social networking facilities exploit a NoSQL data store for their storage. Specifically an Apache Cassandra data store. Figure 1 present the place of the Social Library in a simplified gCube Portal architecture.

Figure 1. Social Library in the simplified gCube Portal Reference Architecture

How to use the gCube Social Networking Library (SNL)

Your gCube Application will the SNL through a specific ASL Extension, the ASL Social Extension

ASL Social Extension

The ASL Social Extension is formed by different modules, each of these is delegated to one specific task. Every module inherits from a super class called SocialPortalBridge. Currently there are two modules available:

  • Application News Manager: to be used by gCube Applications when they need to post news on their user news feeds;
  • User Notifications Manager: to be used by gCube Applications when they need to notify their users about some events.

The overall

Application News Manager

User Notifications Manager