View
7.369
Download
1
Embed Size (px)
DESCRIPTION
Blog Link: http://projectbee.org/blog/archive/how-to-implementing-shindig/ The presentation is all about getting started with implementing Shindig for your existing social portal. Presented at PHPCamp, Pune, on Sept'20th, 2008.
Citation preview
[PHPCamp] Shindig - OpenSocial Container
Shindig – OpenSocial Container
Bipin Upadhyay, Satyam Computers (http://projectbee.org/)
Sharmishtha Gupta, Satyam Computers
[PHPCamp] Shindig - OpenSocial Container
…No, it (love) is a word. What matters is the connection the word implies.…
--RamaKandra in “Matrix Revolutions”
[PHPCamp] Shindig - OpenSocial Container
Agenda
Introduction Social Networking & OpenSocial Shindig Implementing Shindig
[PHPCamp] Shindig - OpenSocial Container
Agenda
Introduction Social Networking & OpenSocial Shindig Implementing Shindig
[PHPCamp] Shindig - OpenSocial Container
Introduction
Name: Bipin Upadhyay Firm: Satyam Computers Work: Training, Coding, PHP, App Sec,… attending meetings Hobbies: Photography, Blogging, Poetry (Reading) etc. Blog: http://projectbee.org/
[PHPCamp] Shindig - OpenSocial Container
Introduction
Name: Sharmishtha Gupta Firm: Satyam Computers Work: Coding, Meetings, Tea Breaks Hobbies: Trekking, Chess, Movies, & (definitely) Shopping.
[PHPCamp] Shindig - OpenSocial Container
Agenda
Introduction Social Networking & OpenSocial Shindig Implementing Shindig
[PHPCamp] Shindig - OpenSocial Container
Social Networking
Six Degrees – It’s a small world after all
[PHPCamp] Shindig - OpenSocial Container
Social Networking
Six Degrees – It’s about Connecting People
[PHPCamp] Shindig - OpenSocial Container
Social Networking
Six Degrees – the Kevin Bacon Game
[PHPCamp] Shindig - OpenSocial Container
Social Networking
Fundamental point: Man is a social animal
[PHPCamp] Shindig - OpenSocial Container
Social Networking
Online Social Networking - A huge step ahead
[PHPCamp] Shindig - OpenSocial Container
Online Social Networking
Online Social Networking – Better connectivity for users
[PHPCamp] Shindig - OpenSocial Container
Online Social Networking
Online Social Networking – Huge data for analysis to providers
[PHPCamp] Shindig - OpenSocial Container
Online Social Networking
Online Social Networking – Monetization for everyone
[PHPCamp] Shindig - OpenSocial Container
Online Social Networking
However, there’s one problem!
[PHPCamp] Shindig - OpenSocial Container
Online Social Networking
However, there’s one problem!(Too) many networks – Same people!
[PHPCamp] Shindig - OpenSocial Container
Online Social Networking
However, there’s one problem!(Too) many networks – Same people!
[PHPCamp] Shindig - OpenSocial Container
OpenSocial
(Google) OpenSocial – One for all & All for one Many networks – One API
[PHPCamp] Shindig - OpenSocial Container
OpenSocial
(Google) OpenSocial – One for all & All for one Many networks – One API
Two main aspects:– Social Apps or Gadgets– OpenSocial Container
[PHPCamp] Shindig - OpenSocial Container
OpenSocial
(Google) OpenSocial – One for all & All for one Many networks – One API
Two main aspects:– Social Apps or Gadgets– OpenSocial Container : Shindig
[PHPCamp] Shindig - OpenSocial Container
OpenSocial - Jargon
Owner: The user who has installed the App
Viewer: The user who is using the App
Friends: Relationship between two users
OpenSocial App: A Gadget Specification compliant XML
App Data: Data stored by an App, for persistence
Activity: Data stored by a user (what a user does)
[PHPCamp] Shindig - OpenSocial Container
Agenda
Introduction Social Networking & OpenSocial Shindig Implementing Shindig
[PHPCamp] Shindig - OpenSocial Container
Shindig
Shindig : Apache Incubator Project– Java & PHP versions available– Under active development– Version 1.0 expected in Sept. end – No logo yet
[PHPCamp] Shindig - OpenSocial Container
Shindig
Shindig = Gadget Specification + OpenSocial Specification
[PHPCamp] Shindig - OpenSocial Container
Shindig
Shindig = Gadget Specification + OpenSocial Specification– Gadget Container: gadget layout & content– Gadget Server: Gadget XML to HTML rendering
[PHPCamp] Shindig - OpenSocial Container
Shindig
Shindig = Gadget Specification + OpenSocial Specification– OpenSocial Container: Container for the OpenSocial API– OpenSocial Data Server: Backend implementation
[PHPCamp] Shindig - OpenSocial Container
Shindig
Shindig = Gadget Specification + OpenSocial Specification
[PHPCamp] Shindig - OpenSocial Container
Shindig - Architecture
[PHPCamp] Shindig - OpenSocial Container
Agenda
Introduction Social Networking & OpenSocial Shindig Implementing Shindig
[PHPCamp] Shindig - OpenSocial Container
Shindig - Implementation
Implementation:– Convert your social n/w into an OpenSocial n/w in 3 easy steps
[PHPCamp] Shindig - OpenSocial Container
Shindig - Implementation
Step 1: Implement Service Interfaces– PeopleService– AppDataService– ActivityService– MessagesService
[PHPCamp] Shindig - OpenSocial Container
Shindig - Implementation
Step 1: Implement Service Interfaces– PeopleService– AppDataService– ActivityService– MessagesService
Use Partuza or SampleContainer for reference
[PHPCamp] Shindig - OpenSocial Container
Shindig - Implementation
Step 2: Configure & Deploy– Host as virtual host on a separate server
OR– Make changes in configurations files to reflect path
[PHPCamp] Shindig - OpenSocial Container
Shindig - Implementation
Step 3: A couple of changes in Social Network– Add a couple of tables to database– Create a gadget rendering location/page– Override gadget rendering layout, if necessary
[PHPCamp] Shindig - OpenSocial Container
Shindig - Implementation
Implementation:– Convert your social n/w into an OpenSocial n/w in 3 easy steps
1. Implement Service Interfaces
2. Configure & Deploy
3. A couple of changes in Social Network
[PHPCamp] Shindig - OpenSocial Container
Shindig - Implementation
Implementation:– Convert your social n/w into an OpenSocial n/w in 3 easy steps
1. Implement Service Interfaces
2. Configure & Deploy
3. A couple of changes in Social Network
What? Expecting anything more?– Apologies to disappoint
[PHPCamp] Shindig - OpenSocial Container
Acknowledgement
My employer, Satyam Computers My Teammates for their support
http://www.flickr.com/photos/restlessglobetrotter/2513014001/ http://www.flickr.com/photos/aeioux/35979393/ http://alumni.indiana.edu/about/fun/images/IU-Bacon-chart_full.jpg http://www.flickr.com/photos/projectbee/2112538734/ http://www.flickr.com/photos/crystaleagle/2386230724/ http://www.flickr.com/photos/62396887@N00/1459838222/ http://www.flickr.com/photos/markwitton/1386125619/ http://www.flickr.com/photos/kiki99/1062744637/ http://www.flickr.com/photos/donnagrayson/195244498/ http://www.flickr.com/photos/slateford/2610390757/ http://www.flickr.com/photos/thevince/2650139618/
[PHPCamp] Shindig - OpenSocial Container
About Satyam
PHP– Satyam’s PHP Unit is actively involved in consulting and
developing PHP Based Web Applications– Also competent in smooth migration from existing infrastructure
to PHP based solutions– A well defined stack of tools, e.g. PHPUnit, Phing, Xdebug, Xinc,
etc., being used by developers for streamlined development
OpenSocial– Early adopters of OpenSocial– Dedicated team of Java & PHP developers working on
OpenSocial– Currently helping a Social Network, with 10 million registered
user base, become OpenSocial complaint
[PHPCamp] Shindig - OpenSocial Container
Got Questions???
Shoot them