38. R E S T / P E OP L E
/people/{guid}/@all
Alle Leute mit Verbindungen zum User {guid}
/people/{guid}/@friends
Alle Freunde vom Benutzer {guid}
/people/{guid}/@s elf
Profil vom Benutzer {guid}
/people/@me/@s elf
Profil des Viewers
39. Freunde von „J ane Doe“
http://shindig.local/social/rest/people/jane.doe/@friends
40. R E S T / AC T IV IT IE S
/activities /{guid}/@s elf
Liste mit Aktivitäten des User {guid}
/activities /{guid}/@friends
Liste mit Aktivitäten der Freunde des User {guid}
42. R E S T / P E R S IS T E NC E
/appdata/{guid}/@s elf/{appid}
Alle App spezifischen Daten für den User {guid}
/appdata/{guid}/@friends /{appid}
Alle App spezifischen Daten für die Freunde des Users
43. R E S T / Additiona l
Pa ra me te rs
/format={format}
Format der Rückgabe (ATOM, J SON, XML)
/fields ={field+}
Die Felder die zurück gegeben werden sollen
/s tartPage={s tartPage}
Paginator
/count={count}
Paginator – Anzahl von Items
45. C onta ine r imple me ntie re n:
1.) P HP Inte rfa c e s imple me ntie re n:
ActivityService, PersonService, AppDataService,
MessagesService, AlbumService, MediaItemService
2.) Apache S hindig konfigurieren
46. 1.) P HP Inte rfa c e s imple me ntie re n:
class JsonDbOpensocialService implements ActivityService, PersonService,
AppDataService, MessagesService, AlbumService, MediaItemService {...}
http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/src/social/sample/J sonDbOpensocialService.php
47. 2.) S hindig konfigurie re n
http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/config/container.php
48. Pa rtuza
OpenS ocial / S ocial Network Beis piels eite
Kommuniziert mit Apache S hindig
Implementiert in PHP
52. V ie le n Da nk für Ihre Aufme rk s a mke it!
R e fe re nt
Frank Ruske
Mayflower GmbH
Pleichertorstr. 2
97070 Würzburg
+ (931) 35 9 65 - 0
49
frank.ruske@mayflower.de