Building Hypermedia APIs with HTML Jon Moore (@jon_moore) Technical - - PowerPoint PPT Presentation

building hypermedia apis with html
SMART_READER_LITE
LIVE PREVIEW

Building Hypermedia APIs with HTML Jon Moore (@jon_moore) Technical - - PowerPoint PPT Presentation

Building Hypermedia APIs with HTML Jon Moore (@jon_moore) Technical Fellow Myth #1 Hypermedia APIs are complex. Myth #2 HTML is only for humans using browsers. Accessibility Photo by firelizard: http://www.flickr.com/photos/firelizard5/


slide-1
SLIDE 1

Building Hypermedia APIs with HTML

Jon Moore (@jon_moore) Technical Fellow

slide-2
SLIDE 2

Myth #1

Hypermedia APIs are complex.

slide-3
SLIDE 3

Myth #2

HTML is only for humans using browsers.

slide-4
SLIDE 4

Accessibility

Photo by firelizard: http://www.flickr.com/photos/firelizard5/ http://www.flickr.com/photos/firelizard5/8479806007/ CC BY 2.0: http://creativecommons.org/licenses/by/2.0/

slide-5
SLIDE 5

How Hypermedia APIs Work

START Search Results Cart Item Detail Billing / Shipping Payment Done!

slide-6
SLIDE 6

Item Detail

Application Domain (semantics)

  • RDF
  • JSON-LD
  • OWL
  • Turtle
slide-7
SLIDE 7

Workflow

  • Collection

+JSON

  • HAL
  • Siren
slide-8
SLIDE 8

Request Mechanics

  • XForms
  • Atom
  • Hydra
slide-9
SLIDE 9
slide-10
SLIDE 10

<DEMO>

[At this point in the talk I gave an astonishing and thoroughly convincing demonstration of a sample HTML API and client. See, you should have come to the conference!]

slide-11
SLIDE 11

Conclusions

  • Domain Semantics
  • Workflow
  • Request Recipes

HTML APIs are accessible to

  • Humans
  • Programs?

has features for Web accessible to

  • Programs
  • Developers
  • Other humans