2 livefx resource model

Upload: sivadon-chaisiri

Post on 30-May-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 2 LiveFX Resource Model

    1/22

    Resource Model

  • 8/14/2019 2 LiveFX Resource Model

    2/22

    WHAT'S IT ALL ABOUT?

  • 8/14/2019 2 LiveFX Resource Model

    3/22

    Symmetric programming model Protocol based

    Resource oriented

    Simple infoset Entities

    Collections

    Relationships

    Standards based

    Unified model for all Live types

  • 8/14/2019 2 LiveFX Resource Model

    4/22

    ResourceModel

  • 8/14/2019 2 LiveFX Resource Model

    5/22

    Consists of resources and their relationships Resources

    Uniquely addressable

    Based on a simple infoset Can be rendered to various wire representations

    Relationships Navigatable, can be inlined

    Uniform access to all Windows Live resourcestypes Contacts, Profiles, News, Activities, Friends

    MeshObjects (includes Files, Folders, Photos) Devices

    Applications

  • 8/14/2019 2 LiveFX Resource Model

    6/22

    LiveOperatingEnvironment

    NewsItems

    Members

    DataFeeds

    DataEntries

    Devices NewsMeshObjects

    Contacts Profiles . . .Mesh

  • 8/14/2019 2 LiveFX Resource Model

    7/22

    SOME ITEMS IN THERESOURCE MODEL

    But not all!

  • 8/14/2019 2 LiveFX Resource Model

    8/22

    LiveOperatingEnvironment

    NewsItems

    Members

    DataFeeds

    DataEntries

    Devices NewsMeshObjects

    Contacts Profiles . . .Mesh

  • 8/14/2019 2 LiveFX Resource Model

    9/22

    Top level container Contains

    Contact Collection

    Profiles

    Mesh Possibly other Live data

    Available online/ofine

  • 8/14/2019 2 LiveFX Resource Model

    10/22

    LiveOperatingEnvironment

    NewsItems

    Members

    DataFeeds

    DataEntries

    Devices NewsMeshObjects

    Contacts Profiles . . .Mesh

  • 8/14/2019 2 LiveFX Resource Model

    11/22

    Owned/Controlled by the user Contains all the information about

    Devices

    Data

    Applications News aggregation

  • 8/14/2019 2 LiveFX Resource Model

    12/22

    LiveOperatingEnvironment

    NewsItems

    Members

    DataFeeds

    DataEntries

    Devices NewsMeshObjects

    Contacts Profiles . . .Mesh

  • 8/14/2019 2 LiveFX Resource Model

    13/22

    Top level resource container All contained resources are related

    Unit of permission/distribution

    Contains

    DataFeeds

    Mappings

    Members

    News

  • 8/14/2019 2 LiveFX Resource Model

    14/22

    LiveOperatingEnvironment

    NewsItems

    Members

    DataFeeds

    DataEntries

    Devices NewsMeshObjects

    Contacts Profiles . . .Mesh

  • 8/14/2019 2 LiveFX Resource Model

    15/22

    Unit of syncronization Container for

    DataEntry

    FeedSync

    MediaResource Can contain other DataFeeds to create

    hierarchy

  • 8/14/2019 2 LiveFX Resource Model

    16/22

    LiveOperatingEnvironment

    NewsItems

    Members

    DataFeeds

    DataEntries

    Devices NewsMeshObjects

    Contacts Profiles . . .Mesh

  • 8/14/2019 2 LiveFX Resource Model

    17/22

    Smallest unit of data Specifies the actual data being stored

    Can contain enclosures of applicationdefined schema

  • 8/14/2019 2 LiveFX Resource Model

    18/22

    AUTHENTICATION

    How do I identify myself?

  • 8/14/2019 2 LiveFX Resource Model

    19/22

    Authenticate as myself Use web authentication Web site has no access to my mesh

    Authenticate as a user on my site Use delegated authentication User controls access to his mesh

    Mesh enabled web sites authenticate same

    as before

  • 8/14/2019 2 LiveFX Resource Model

    20/22

    Use either local or cloud mesh

    Local mesh is already authenticated

    Cloud Mesh

    App must get username and password

    Use those credentials to authenticate to

    the cloud

  • 8/14/2019 2 LiveFX Resource Model

    21/22

    Local connection

    Local data cache

    Ofine capability required

    Automatically syncs with the cloud

    Cloud connection No local data cache

    Ofine capability not needed Always online

  • 8/14/2019 2 LiveFX Resource Model

    22/22