SlideShare una empresa de Scribd logo
1 de 20
OpenGraph


    http://www.esipfed.org/




RESTFul Services, Does It Really Matter Anymore?
Pat Cappelaere




                              ESIP Information Technology & Interoperability Rant & Rave...

                              Building Tomorrow’s Social Web Apps
                                                                                  Oct 4th, 2012   1
Web Services Evolution

• 1990 REST/RPC


• 2005-2010 SOA (SOAP WS-* Stack)


• 2010- ROA (REST + HyperMedia)


  • Is Richardson Maturity Level 3 The Final Goal?




                                                     2
Richardson Maturity Level 3

• Resources & HTTP Verbs (GET/POST/PUT/DELETE)


• Stateless


• Caching


• Code on Demand


• Hypermedia Controls (Hypertext As The Engine Of Application State HATEOAS)


• Discoverability & Self-Documentation



          We Are Still Getting It Wrong!
                                                                               3
Facebook Anybody?




                    4
What’s Happening?

• Welcome To The Social Web


  • Users Like To Share Their Actions On The Web


  • Other Users Are Actually Interested In Those Activities


  • They May Actually Start Changing Their Behaviours Based On What Their
    Friends Are Doing




                                                                            5
The Other Thing


Tomorrow’s Primary Users
of Your Web Site Will Not
Be Humans


        Forget about a web page interface...
        User-agents will be primary users of your app...   6
How Could This Apply To Us?




                view                     task



                               process
                       model




                                                7
Or This?

                                           CATHALAC
                                                                         Disaster Management
                                                                             Belize Group
                                                                   member

                              Stu
                                       know
                                                                                  Story

                                                  Emil                                                                        Comments


                                    know

                       task                                                                    GSFC       Development
                                                                            Science            MSO
                                                                                                         Pat                Applications

                                            download                            Petya                                      Antonio



       Hypercube
                                                                  process
                                                                                          create
                                                                                                                  create



                                                                                           WCPS        WCPS
                                                                                          Algorithm   Unmixing
                                                                                                      Algorithm
    spatial indexing
                                                       Products
                                                                                                                                           8
How Can We Define User Activities?

• {User} {Verb} {Object} [{Target}]




                                      9
Activity Streams = Activity Output




    Protocol Already Exists

              http://activitystrea.ms/




                                         10
How Can We Publish/Discover Activity Potential?


     We Are Talking About Activities That
          Have Not Happened Yet

      We Are Talking About Web Applications
      That Provide Capabilities That Result In
                     Activities




                                                  11
Issues

• Define Object Types


• Define Actions or Verbs Types


  • Action Verbs & Action Links (linking Actions / Activities)

   What About Constraints?




                 Welcome To The Social Semantic Web!
                                                                 12
OGC Activities Examples

 {user | system} {acquired} {observation}

 {user} {searches for} {observations | products | maps | features | …}

 {user} {is viewing} {an observation | map | product | …}

 {user} {likes} {observation}

 {user} {processed} {observation}

 {user} {executed} {algorithm} {observation}

 {user} {downloaded} {observations | products | map layer}

 {user} {ordered} {imagery product}

 {user} {requested feasibility) {location}

 {user} {requested imaging) {location}

 {user} {collaborates with} {user}
                                                                         13
Linked Data and Semantic Web

• Facebook Open Graph Protocol


• Google Social Graph (Google+)


• dc, schema.org, UMBEL, FOAF, Cyc...




  We Need Our Own Open Graph API To Link Our Data, Verbs, Action Links...


       We Need A Shared Ontology (or Common Vocabulary)
                                                                            14
Next Problem: Representation

• RDF

• HTML5 + RDFa

   • JSON+LD

   • JSON-Schema, Siren...

• RDFa or RDFa-lite

• Microformats, Microdata

• RIF (Rule Interchange Format)...




                                     15
Getting to REST Level 4


                           Level 4: Activities




                    http://martinfowler.com/articles/richardsonMaturityModel.html

                                                                                    16
Object                                Target
 User Story
• User downloads Radarsat2 Floodmap of Haiti (and recommends it)


• or may be processed it and published it

                                                                                                   verbs
• Activity appears in Timeline


• Many Other friends see it (Facebook Page) and start doing it as well


• -> and it goes viral from there...

                                                                            Activity appears in
                                    Activity appears in
        Scientist “publishes”                                               News Feed of Many
                                         Timeline
                                                                                  Friends




                                Many friend scientists see the post and start collaborating


                                                                                                  Social Science?
                                                                                                               17
18
Meta Tag Sample: Floodmap


<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#
                radarsat: http://ogp.me/ns/fb/radarsat#">

 <meta   property="fb:app_id"   content="174581479345038" />
 <meta   property="og:type"     content="radarsat:floodmap" />
 <meta   property="og:url"      content="Put your own URL to the object here" />
 <meta   property="og:title"    content="Sample Floodmap" />
 <meta   property="og:image"    content="https://fbcdn.net/images/devsite/img.png" />




                                                                                        19
Take Away

Linked Data in Web Apps


For Tomorrow’s Users (Not Human)


Using Activity and Action Links Within a Semantic Web


and Social Networks


                                                        Thank You
                                                          Pat Cappelaere
                                                     pat@cappelaere.com
                                                    http://www.vightel.com



                                                                             20

Más contenido relacionado

Similar a RESTFul Services, Does it Matter Anymore?

Achieving Visibility and Insight across OpenStack Projects.ppt
Achieving Visibility and Insight across OpenStack Projects.pptAchieving Visibility and Insight across OpenStack Projects.ppt
Achieving Visibility and Insight across OpenStack Projects.ppt
OpenStack Foundation
 
Soa4 all technical achievements final
Soa4 all technical achievements finalSoa4 all technical achievements final
Soa4 all technical achievements final
John Domingue
 

Similar a RESTFul Services, Does it Matter Anymore? (20)

zAgile for OpenStack Summit - v2-3.ppt
zAgile for OpenStack Summit - v2-3.pptzAgile for OpenStack Summit - v2-3.ppt
zAgile for OpenStack Summit - v2-3.ppt
 
Achieving Visibility and Insight across OpenStack Projects.ppt
Achieving Visibility and Insight across OpenStack Projects.pptAchieving Visibility and Insight across OpenStack Projects.ppt
Achieving Visibility and Insight across OpenStack Projects.ppt
 
Building Tomorrow's Web Services
Building Tomorrow's Web ServicesBuilding Tomorrow's Web Services
Building Tomorrow's Web Services
 
Cytoscape: Now and Future
Cytoscape: Now and FutureCytoscape: Now and Future
Cytoscape: Now and Future
 
Linked services for the Web of Data
Linked services for the Web of DataLinked services for the Web of Data
Linked services for the Web of Data
 
Working Software Over Comprehensive Documentation
Working Software Over Comprehensive DocumentationWorking Software Over Comprehensive Documentation
Working Software Over Comprehensive Documentation
 
Soa4 all technical achievements final
Soa4 all technical achievements finalSoa4 all technical achievements final
Soa4 all technical achievements final
 
Must-have Plugins for Confluence & JIRA - Atlassian Summit 2010
Must-have Plugins for Confluence & JIRA - Atlassian Summit 2010Must-have Plugins for Confluence & JIRA - Atlassian Summit 2010
Must-have Plugins for Confluence & JIRA - Atlassian Summit 2010
 
Understanding Research 2.0 from a Socio-technical Perspective
Understanding Research 2.0 from a Socio-technical PerspectiveUnderstanding Research 2.0 from a Socio-technical Perspective
Understanding Research 2.0 from a Socio-technical Perspective
 
Open social & cmis oasistc-20100712
Open social & cmis   oasistc-20100712Open social & cmis   oasistc-20100712
Open social & cmis oasistc-20100712
 
Ajaxworld Opensocial Presentation
Ajaxworld Opensocial PresentationAjaxworld Opensocial Presentation
Ajaxworld Opensocial Presentation
 
From open data to API-driven business
From open data to API-driven businessFrom open data to API-driven business
From open data to API-driven business
 
From Website To Webapp Shane Morris
From Website To Webapp   Shane MorrisFrom Website To Webapp   Shane Morris
From Website To Webapp Shane Morris
 
Open Innovation means Open Source
Open Innovation means Open SourceOpen Innovation means Open Source
Open Innovation means Open Source
 
Jw13 developer-jive talks-presentation
Jw13 developer-jive talks-presentationJw13 developer-jive talks-presentation
Jw13 developer-jive talks-presentation
 
Klout changing landscape of social media
Klout changing landscape of social mediaKlout changing landscape of social media
Klout changing landscape of social media
 
The Rise of the DataOps - Dataiku - J On the Beach 2016
The Rise of the DataOps - Dataiku - J On the Beach 2016 The Rise of the DataOps - Dataiku - J On the Beach 2016
The Rise of the DataOps - Dataiku - J On the Beach 2016
 
Want Your API to Stick? Try Story-Telling...
Want Your API to Stick? Try Story-Telling...Want Your API to Stick? Try Story-Telling...
Want Your API to Stick? Try Story-Telling...
 
Aw (3) webinar serverless-fisher-rymer
Aw (3) webinar serverless-fisher-rymerAw (3) webinar serverless-fisher-rymer
Aw (3) webinar serverless-fisher-rymer
 
Designing Powerful Web Applications Using AJAX and Other RIAs
Designing Powerful Web Applications Using AJAX and Other RIAsDesigning Powerful Web Applications Using AJAX and Other RIAs
Designing Powerful Web Applications Using AJAX and Other RIAs
 

Más de Pat Cappelaere

Radarsat Facebook App Concept
Radarsat Facebook App ConceptRadarsat Facebook App Concept
Radarsat Facebook App Concept
Pat Cappelaere
 

Más de Pat Cappelaere (18)

Api Days Are Over
Api Days Are OverApi Days Are Over
Api Days Are Over
 
Open GeoSocial API
Open GeoSocial APIOpen GeoSocial API
Open GeoSocial API
 
REST Level 5 - A Trek To The Summit
REST Level 5 - A Trek To The SummitREST Level 5 - A Trek To The Summit
REST Level 5 - A Trek To The Summit
 
HyspIRI IPM Goes Social
HyspIRI IPM Goes SocialHyspIRI IPM Goes Social
HyspIRI IPM Goes Social
 
Cathalac Story Based on Actual Data
Cathalac Story Based on Actual DataCathalac Story Based on Actual Data
Cathalac Story Based on Actual Data
 
Radarsat Facebook App Concept
Radarsat Facebook App ConceptRadarsat Facebook App Concept
Radarsat Facebook App Concept
 
NASA SensorWeb Enterprise Services
NASA SensorWeb Enterprise ServicesNASA SensorWeb Enterprise Services
NASA SensorWeb Enterprise Services
 
RIP
RIPRIP
RIP
 
Nasa aip5.pptx
Nasa aip5.pptxNasa aip5.pptx
Nasa aip5.pptx
 
Intelligent Payload Processing
Intelligent Payload ProcessingIntelligent Payload Processing
Intelligent Payload Processing
 
Restful Security Requirements
Restful Security RequirementsRestful Security Requirements
Restful Security Requirements
 
Two Degrees To SensoWeb
Two Degrees To SensoWebTwo Degrees To SensoWeb
Two Degrees To SensoWeb
 
Esip Jan 09
Esip Jan 09Esip Jan 09
Esip Jan 09
 
EO/NRE Interoperability Presentation
EO/NRE Interoperability PresentationEO/NRE Interoperability Presentation
EO/NRE Interoperability Presentation
 
A RESTful WfXML
A RESTful WfXMLA RESTful WfXML
A RESTful WfXML
 
RESTful OGC Services
RESTful OGC ServicesRESTful OGC Services
RESTful OGC Services
 
Geobliki: A Platform For Emergency Response
Geobliki: A Platform For Emergency ResponseGeobliki: A Platform For Emergency Response
Geobliki: A Platform For Emergency Response
 
Improving Operational Space Responsiveness
Improving Operational Space ResponsivenessImproving Operational Space Responsiveness
Improving Operational Space Responsiveness
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

RESTFul Services, Does it Matter Anymore?

  • 1. OpenGraph http://www.esipfed.org/ RESTFul Services, Does It Really Matter Anymore? Pat Cappelaere ESIP Information Technology & Interoperability Rant & Rave... Building Tomorrow’s Social Web Apps Oct 4th, 2012 1
  • 2. Web Services Evolution • 1990 REST/RPC • 2005-2010 SOA (SOAP WS-* Stack) • 2010- ROA (REST + HyperMedia) • Is Richardson Maturity Level 3 The Final Goal? 2
  • 3. Richardson Maturity Level 3 • Resources & HTTP Verbs (GET/POST/PUT/DELETE) • Stateless • Caching • Code on Demand • Hypermedia Controls (Hypertext As The Engine Of Application State HATEOAS) • Discoverability & Self-Documentation We Are Still Getting It Wrong! 3
  • 5. What’s Happening? • Welcome To The Social Web • Users Like To Share Their Actions On The Web • Other Users Are Actually Interested In Those Activities • They May Actually Start Changing Their Behaviours Based On What Their Friends Are Doing 5
  • 6. The Other Thing Tomorrow’s Primary Users of Your Web Site Will Not Be Humans Forget about a web page interface... User-agents will be primary users of your app... 6
  • 7. How Could This Apply To Us? view task process model 7
  • 8. Or This? CATHALAC Disaster Management Belize Group member Stu know Story Emil Comments know task GSFC Development Science MSO Pat Applications download Petya Antonio Hypercube process create create WCPS WCPS Algorithm Unmixing Algorithm spatial indexing Products 8
  • 9. How Can We Define User Activities? • {User} {Verb} {Object} [{Target}] 9
  • 10. Activity Streams = Activity Output Protocol Already Exists http://activitystrea.ms/ 10
  • 11. How Can We Publish/Discover Activity Potential? We Are Talking About Activities That Have Not Happened Yet We Are Talking About Web Applications That Provide Capabilities That Result In Activities 11
  • 12. Issues • Define Object Types • Define Actions or Verbs Types • Action Verbs & Action Links (linking Actions / Activities) What About Constraints? Welcome To The Social Semantic Web! 12
  • 13. OGC Activities Examples {user | system} {acquired} {observation} {user} {searches for} {observations | products | maps | features | …} {user} {is viewing} {an observation | map | product | …} {user} {likes} {observation} {user} {processed} {observation} {user} {executed} {algorithm} {observation} {user} {downloaded} {observations | products | map layer} {user} {ordered} {imagery product} {user} {requested feasibility) {location} {user} {requested imaging) {location} {user} {collaborates with} {user} 13
  • 14. Linked Data and Semantic Web • Facebook Open Graph Protocol • Google Social Graph (Google+) • dc, schema.org, UMBEL, FOAF, Cyc... We Need Our Own Open Graph API To Link Our Data, Verbs, Action Links... We Need A Shared Ontology (or Common Vocabulary) 14
  • 15. Next Problem: Representation • RDF • HTML5 + RDFa • JSON+LD • JSON-Schema, Siren... • RDFa or RDFa-lite • Microformats, Microdata • RIF (Rule Interchange Format)... 15
  • 16. Getting to REST Level 4 Level 4: Activities http://martinfowler.com/articles/richardsonMaturityModel.html 16
  • 17. Object Target User Story • User downloads Radarsat2 Floodmap of Haiti (and recommends it) • or may be processed it and published it verbs • Activity appears in Timeline • Many Other friends see it (Facebook Page) and start doing it as well • -> and it goes viral from there... Activity appears in Activity appears in Scientist “publishes” News Feed of Many Timeline Friends Many friend scientists see the post and start collaborating Social Science? 17
  • 18. 18
  • 19. Meta Tag Sample: Floodmap <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# radarsat: http://ogp.me/ns/fb/radarsat#"> <meta property="fb:app_id" content="174581479345038" /> <meta property="og:type" content="radarsat:floodmap" /> <meta property="og:url" content="Put your own URL to the object here" /> <meta property="og:title" content="Sample Floodmap" /> <meta property="og:image" content="https://fbcdn.net/images/devsite/img.png" /> 19
  • 20. Take Away Linked Data in Web Apps For Tomorrow’s Users (Not Human) Using Activity and Action Links Within a Semantic Web and Social Networks Thank You Pat Cappelaere pat@cappelaere.com http://www.vightel.com 20

Notas del editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n