Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

of

The API-Application Semantic Gap Slide 1 The API-Application Semantic Gap Slide 2 The API-Application Semantic Gap Slide 3 The API-Application Semantic Gap Slide 4 The API-Application Semantic Gap Slide 5 The API-Application Semantic Gap Slide 6 The API-Application Semantic Gap Slide 7 The API-Application Semantic Gap Slide 8 The API-Application Semantic Gap Slide 9 The API-Application Semantic Gap Slide 10 The API-Application Semantic Gap Slide 11 The API-Application Semantic Gap Slide 12 The API-Application Semantic Gap Slide 13
Upcoming SlideShare
XebiCon'16 : GraphQL et Falcor, un nouveau regard sur les architectures REST ? Par Antoine Le Taxin et Abdelhakim Bachar, Développeurs Front-End chez Xebia
Next
Download to read offline and view in fullscreen.

2 Likes

Share

Download to read offline

The API-Application Semantic Gap

Download to read offline

Lightning Talk @ RestFest 2015 on Rest APIs and Application Semantics

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

The API-Application Semantic Gap

  1. 1. The  API-­‐Applica.on   Seman.cs  Gap   Steven  Willmo,           3scale  Inc   @3scale  -­‐  h,p://www.3scale.net  
  2. 2. On  Demand  API  Infrastructure:     h,p://3scale.net  h,p://www.apitools.com   h,p://apistrat.com     @3scale  me:  @njyx  on  twi,er   Powering  650  APIs   Billions  API  Calls  /  Month  
  3. 3. REST  and  SemanOcs   •  More  Shared   SemanOcs   •  More  ConvenOon   v’s  ConfiguraOon   •  More  Flexible   Clients   Key:  Explicit,  Shared,  Re-­‐usable  SemanOcs   (Image:  MarOn  Fowler  /  Richardson  Model)  
  4. 4.  But  What  Type  of  SemanOcs   ApplicaOon  SemanOcs  =  Chocolate   REST-­‐1-­‐2-­‐3   HTTP   TCP/IP   Domain   Objects   AcOons   ObligaOons   Rights…  
  5. 5. Implicit  v’s  Explicit  ApplicaOon   SemanOcs   Server   Client   API  DefiniOon   Data  Models  /  Ontology   AcOon  DefiniOons   (Mental)  State  
  6. 6. Today’s  REST  APIs   Profile   Message:     Object   Encoding   HTTP  Post   Vocabulary   Human     Readable   Docs   •  Implicit  and  Explicit   SemanOcs   •  Some  is  Machine   Readable   •  Message  Bodies  are   limited   •  HTTP  Verbs  touch   ApplicaOon  SemanOcs  
  7. 7. So…  
  8. 8. “Agent”   There  are  Models:  e.g.  FIPA  Agent   CommunicaOon  Model   (Speech Act: Inform :sender :receiver :content “(equal A B)” :language :ontology)   (Protocol:  Info-­‐Exchange…   (Context:      -­‐  Ontologies    -­‐  Protocols    -­‐  Logical  Frameworks    -­‐  Rights,  Roles,  IdenOOes…   h,p://fipa.org/repository/index.html   A  lot  more  is   possible:   •  Ontologies   •  PerformaOves   •  Protocols   •  Content  Logics:   DL,  FOL,  Temporal,   Constraint   •  Mental  Models   •  P2P  v’s  Client/ Server    
  9. 9. Full  Stack  ApplicaOon  SemanOcs   Level   Example   Context   Ontology,   IdenOty,     Protocol   Request   Protocol   Actude   Request,   Agree,  Cancel,   Reject,  Inform,   …   AcOon   “(Donald  eats   apple)”   Objects   “Apple”,   “Person”   A  lot  more  is  possible:   •  Ontologies   •  PerformaOves   •  Protocols   •  Content  Logics:  DL,   FOL,  Temporal,   Constraint  Logic   •  Mental  Models   •  P2P  v’s  Client/Server    
  10. 10. Progress  From  Mike’s  Talk…   •  Pass  Messages,  Not  Objects   –  J  …  although  is  REST  pure  message  passing?   •  Share  Vocabularies,  Not  Models   –  Share  (External)  Vocabularies,  Not  (internal)  Models   •  Use  Profiles   –  J  …  add  more  to  them   •  (from  James’)  AcOvity  Streams  Ontology   –  J  …  helps  define  context   •  =>  on  the  right  path  
  11. 11. Two  Paths  to  Progress   •  More  Formats,  More  Reasoning     Shared  Explicit  SemanOcs  FTW!   apicommons.org   Experimental  Work…   Reasoning     Clients   •  More  Share  formats    
  12. 12. References   •  References:   – h,p://fipa.org/repository/index.html   – h,p://www.swagger.io   – h,p://alps.io     •  Images:   – Dancing  with  Happiness  –  Yarn   – Nestle  –  KitKat  
  13. 13. steve@3scale.net   @njyx,  @3scale     We  make  awesome  API  management  tools:   h,p://www.3scale.net/    
  • NikkiHess2

    Nov. 24, 2021
  • snow3d

    Jun. 17, 2018

Lightning Talk @ RestFest 2015 on Rest APIs and Application Semantics

Views

Total views

3,175

On Slideshare

0

From embeds

0

Number of embeds

591

Actions

Downloads

44

Shares

0

Comments

0

Likes

2

×