• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Distributed Affordance
 

Distributed Affordance

on

  • 1,655 views

 

Statistics

Views

Total Views
1,655
Views on SlideShare
1,318
Embed Views
337

Actions

Likes
1
Downloads
7
Comments
0

6 Embeds 337

http://eventifier.co 218
https://twitter.com 77
http://ws-rest.org 35
http://www.ws-rest.org 4
http://eventifier.com 2
http://translate.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Distributed Affordance Distributed Affordance Presentation Transcript

    • DistributedAffordanceAn Open-World Assumptionfor HypermediaRuben Verborgh, Michael Hausenblas,Thomas Steiner, Erik Mannens,Rik Van de WalleThe three princes of Serendip
    • RESTarchitectural styledifferent?What makes the
    • HATEOASHypermedia As The EngineOf Application State
    • Representations containthe links to next steps.How can the server knowwhat the client’s next steps are?
    • Distributed AffordanceAn Open-World Assumptionfor HypermediaProblem statementConcept and ArchitectureDemo
    • Distributed AffordanceAn Open-World Assumptionfor HypermediaProblem statementConcept and ArchitectureDemo
    • Hypertext [is] the simultaneous presentationof information and controls such thatthe information becomes the affordancethrough which the user (or automaton)obtains choices and selects actions.— Roy T. Fielding
    • Hypertext [is] the simultaneous presentationof information and controls such thatthe information becomes the affordancethrough which the user (or automaton)obtains choices and selects actions.— Roy T. Fielding
    • Hypertext [is] the simultaneous presentationof information and controls such thatthe information becomes the affordancethrough which the user (or automaton)obtains choices and selects actions.— Roy T. Fielding
    • Hypertext [is] the simultaneous presentationof information and controls such thatthe information becomes the affordancethrough which the user (or automaton)obtains choices and selects actions.— Roy T. Fielding
    • A handle affords opening a door.The handle is an affordancethrough which you can open the door.
    • …the information becomes the affordance…
    • Hypertext [is] the simultaneous presentationof information and controls such thatthe information becomes the affordancethrough which the user (or automaton)obtains choices and selects actions.— Roy T. Fielding
    • Hypertext [is] the simultaneous presentationof information and controls such thatthe information becomes the affordancethrough which the user (or automaton)obtains choices and selects actions.— Roy T. Fielding
    • SC SCRPC REST123SCSCSCSC
    • SCRESTSCSCLoose conversational couplingEnabling clients to discoverat runtime how to correctlyinteract with a service isa loosely coupled design practice— Cesare Pautasso & Erik Wilde
    • SCRESTSCSCThe server has to providethe affordance towardsnext steps the client can take.It is impossiblefor the server to know all stepsany client might want to take.Tight affordance coupling
    • SCSC SC SCclosed world open world open world“today’s weather in Rio”“tomorrow’s weather in Rio” “plane tickets to Rio” “hotels in Rio”Weather API
    • Distributed AffordanceAn Open-World Assumptionfor HypermediaProblem statementConcept and ArchitectureDemo
    • CPSuserpublisherproviderdistributedaffordance
    • SPublishers offer representationsthat contain semantic annotations.HTML&Microdata
    • Providers offer semantic descriptionsof the actions they support.RESTdescP
    • Based on the semantic annotations,matching service descriptions are instantiated.PPPHTML&Microdata+ =
    • Based on the semantic annotations,matching service descriptions are instantiated.+ =RioRioRio
    • Based on the semantic annotations,matching service descriptions are instantiated.RioRio
    • * 1*1Representation RepresentationEnricher«use»ResourceExtractor«use»Resource«instantiate»APICatalogAPIDescription«instantiate»PreferenceManagerActionGeneratorAction«instantiate»«use»Figure 1: The resources inside a representation are extracted 1 and combined with api dbased on the user’s preferences 3 , into actions 4 , for which affordances are added to the repr4. ARCHITECTURE4.1 Componentsthe role of the PreferenceManager can bethe APICatalog, which then only includesthat match the user’s preferences.
    • Distributed AffordanceAn Open-World Assumptionfor HypermediaProblem statementConcept and ArchitectureDemo
    • <div id="book" itemscope itemtype="http://schema.org/Book"><span itemprop="name">The Catcher in the Rye</span> -by <a itemprop="author" href="#salinger">J.D. Salinger</a><div itemprop="aggregateRating" itemscope><span itemprop="ratingValue">4</span> stars -<span itemprop="reviewCount">3077</span> reviews</div><div class="affordances" data-for="book"><em>the browser will insert affordances here</em></div></div>
    • centralized affordancedistributed affordancepublisher-drivenmostly within applicationuser-drivenon the entire Webtightaffordance couplinglooseaffordance coupling
    • Hypermedia as the engine of application stateonly works to the extent by which the publishercan predict what affordance the client needs.Distributed affordance uses semantic technologiesto generate the needed affordance at runtime.
    • DistributedAffordanceAn Open-World Assumptionfor Hypermedia@RubenVerborghdistributedaffordance.org