onesocialweb presentation at fosdem 2010

59
C1 Public © 2010 Vodafone Group Laurent Eschenauer & Alard Weisscher FOSDEM, Feb 6 th 2010 XMPP and the Social Web

Upload: laurent-eschenauer

Post on 15-Jan-2015

5.156 views

Category:

Technology


1 download

DESCRIPTION

The purpose of onesocialweb is to enable free, open, and decentralized social applications on the web. It was first presented at FOSDEM on Feb 6th 2010. These are the slides of the presentation.

TRANSCRIPT

Page 1: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

XMPP and the Social Web

Page 2: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

@eschnouLaurent EschenauerSoftware Engineer

@alardwAlard Weisscher

User Experience Designer

Page 3: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

social web noun :

Page 4: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

social web noun :An open global distributed data sharing network linking people, organizations, and  concepts.

Unknown author, Wikipedia

Page 5: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

social web noun :An open global distributed data sharing network linking people, organizations, and concepts.

A free, open, decentralized social networking platform supporting an ecosystem of social applications.

Unknown author, Wikipedia

Our interpretation

Page 6: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

many activities related to the Social Web...

Page 7: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

activitystrea.ms

portable contacts

many activities related to the Social Web...

Page 8: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

… yet no global solution

activitystrea.ms

portable contacts

many activities related to the Social Web...

Page 9: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

Are you sure ?

Page 10: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

What about XMPP ?

Page 11: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

identity: user@domain

Page 12: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

profi le: vcard, avatar

Page 13: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

fr iends: roster

Page 14: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

activit ies : presence

Page 15: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

activit ies : IM

Page 16: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

activit ies : PEP

PEP: Personal Eventing Protocol (a special PubSub node linked to a JID)

Page 17: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

is it enough ?

Page 18: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

is it enough ? No :-(

Page 19: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

activit iesrelations

profi le

Page 20: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

activit iesrelations

profi le

richer semantics

Page 21: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

activit iesrelations

profi le

richer semanticsextensible

Page 22: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

activit iesrelations

profi le

richer semanticsextensiblefine grained access control

Page 23: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

activit iesrelations

profi le

richer semanticsextensiblefine grained access controloffline

Page 24: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

how do we do this ?

Page 25: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

eXtensible MPP

Page 26: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

Page 27: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

4 extensions (very early drafts)

Page 28: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

4 extensions (very early drafts) Social activities Social profile Social relations Social interactions

Page 29: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

4 extensions (very early drafts) Social activities Social profile Social relations Social interactions

Both server-server and client-server

Page 30: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

“dwarf on the shoulders of giants”

Bernard of Chartres, 1200

Page 31: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

profi le: Portable Contacts

http://wiki.portablecontacts.net/

Page 32: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

fr iends: XHTML Friends Network

http://gmpg.org/xfn/

Page 33: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

activit ies: activitystrea.ms

http://activitystrea.ms/

Page 34: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

an example ?

Page 35: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

Hamlet updates his status

Page 36: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

Hamlet updates his status“to be or not to be...”

Page 37: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

<iq type='set'from='[email protected]/snsclient'to='denmark.lit'id='osw1'>

</iq>

Page 38: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

<iq type='set'from='[email protected]/snsclient'to='denmark.lit'id='osw1'>  <publish xmlns='http://onesocialweb.org/protocol/0.1/activities#publish'>

  </publish></iq>

Page 39: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

<iq type='set'from='[email protected]/snsclient'to='denmark.lit'id='osw1'>  <publish xmlns='http://onesocialweb.org/protocol/0.1/activities#publish'>    <entry xmlns='http://www.w3.org/2005/Atom'            xmlns:activity='http://activitystrea.ms/spec/1.0/'            xmlns:osw='http://onesocialweb.org/spec/1.0/'>      <title>to be or not to be ?</title>      <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>      <activity:object>        <activity:object­type>          http://onesocialweb.org/spec/1.0/object/status        </activity:object­type>        <content type='text/plain'>to be or not to be ?</content>      </activity:object>      <osw:acl­rule>        <osw:acl­action               permission='http://onesocialweb.org/spec/1.0/acl/permission/grant'>          http://onesocialweb.org/spec/1.0/acl/action/view        </osw:acl­action>        <osw:acl­subject              type='http://onesocialweb.org/spec/1.0/acl/subject/everyone'/>      </osw:acl­rule>    </entry>  </publish></iq>

Page 40: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

server not a dumb router

Page 41: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

server not a dumb routerarchive (off-line access)

Page 42: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

server not a dumb routerarchive (off-line access)query, search, filter

Page 43: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

server not a dumb routerarchive (off-line access)query, search, filterpush notifications

Page 44: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

server not a dumb routerarchive (off-line access)query, search, filterpush notificationsmanage relationships

Page 45: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

server not a dumb routerarchive (off-line access)query, search, filterpush notificationsmanage relationshipsenforce access control at item level

Page 46: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

“practice makes perfect”Periander, 600bc

Page 47: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

server: Openfire plugin

Open source XMPP server, written in Java, licensed under GPL 2

Page 48: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

web cl ient: Google Web Toolkit +Emite

Emite is a BOSH library ported to Google Web Toolkit

Page 49: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

mobile: Android application withaSmack + custom code

aSmack is a port of Smack to Android, in addition we changed the keep-alive strategyhttp://code.google.com/p/asmack/

Page 50: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

language: 100% Java30% code reuse

Google Web Toolkit compiles Java code to a Javascript Web Application

Page 51: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

l icense: Apache License 2.0github.com/onesocialweb

Well.. we are not ready, you'll have to wait end of march to get the code

Page 52: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

coming up:

Page 53: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

coming up: engage with XMPP community over the extensions

Page 54: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

coming up: engage with XMPP community over the extensions

engage with servers and clients developers

Page 55: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

coming up: engage with XMPP community over the extensions

engage with servers and clients developers

open source the code

Page 56: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

coming up: engage with XMPP community over the extensions

engage with servers and clients developers

open source the code

setup a trial server – open federation

Page 57: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

coming up: engage with XMPP community over the extensions

engage with servers and clients developers

open source the code

setup a trial server – open federation

develop features, features and more features

Page 58: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

“We need you, we need your youth, your strength, and your idealism, to help us make right what is wrong.”

Ronald Reagan

Page 59: OneSocialWeb presentation at FOSDEM 2010

C1 Public–

© 2010 Vodafone GroupLaurent Eschenauer & Alard WeisscherFOSDEM, Feb 6th 2010

info:http://onesocialweb.orghttp://twitter.com/onesocialwebhttp://github.com/onesocialweb