Changes

Jump to: navigation, search

CloudServices/Presence

1,378 bytes added, 12:44, 18 November 2013
Use Cases
==Use Cases==
 
=== Chat Room (=IRC Channel) ===
 
A chat room app let people talk with each other on the same web page. You connect to the system using Persona and you avatar appears on the page to other users. You can add contacts in that app.
 
People see you messages in realtime. It's built using whatever chat technology (BOSH/XMPP, plain websockets)
 
Before Mozilla Presence:
 
* a user appears as present (or busy or idling etc..) in the chat room when she's connected to the app and uses it
* a user that is not currently using the app (perhaps because FFOS killed that app due to constrained device resouces) appears offline.
* if the application wants to reach an offline user, it does not really know if the user is offline at the device level or just the app level.
 
With Mozilla Presence
 
* a user runs the Presence service and let it know when he's offline/online at the device level (desktop browser: a social API sidebar, FXOS: some background service)
* the user set permissions: "yes the chat app can get my presence updates"
* the user then can use the chat app independantly from the presence thing - or not having it running at some point at all
* the chat app interacts with the presence server: it gets a stream of presence update from the presence server only if the user authorized it
 
 
'''Demo''' (without the app permission dance yet): https://vimeo.com/79394330
Confirm
927
edits

Navigation menu