Giter Club home page Giter Club logo

social_stream's Introduction

Social Stream

Social Stream is a plugin for Ruby on Rails. It provides your application with social networking features and activity streams.

Social networking

Social networks are a new paradigm on web application design. Social networking platforms stand among the most popular websites, while many content oriented applications are supporting social networking features in order to improve engagement, enhance user awareness and stimulate communities around the website.

Social Stream is based in Social Network Analysis concepts and methods, including social entities (actors), ties and relations. It also provides a new tie-based access control model.

Activity Streams

Activity Streams is a format for syndicating social activities around the web. It has already been adopted by some of the major social networking platforms.

Social Stream provides a database schema based on the Activity Streams specification, leading your application towards a well-known compatible data model design.

Installation

It requires Rails 3. A gem for strength hierarchies in relations is required. Add to your Gemfile:

gem 'atd-ancestry', :require => 'ancestry'

and

bundle update

Then install the plugin with:

rails plugin install http://github.com/ging/social_stream.git

And run:

rails generate social_stream:install

This will generate the following:

* A migration providing the database schema
* An initializer configuration file for Social Stream.
* A database seeds file for defining Social Stream relations. You must add:
    SocialStream.seed!
  to your db/seeds.rb

Actors and Activity Objects

Social Stream relies in other authentication solutions like Authlogic or Devise.

You must include an actor_id column in the user’s migration. Then add user to config/initializers/social_stream.rb

You must do the same with Activity Objects, like posts, comments or photos. Don’t forget to add a activity_object_id column in the migration and add them to the initializer.

Documentation

Social Stream documentation is available at rdoc.info

Discussion

It is at an early stage of development. Feel free to add an issue or send a message at github.

social_stream's People

Contributors

atd avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.