fowa: telling stories with apis

45
Telling Stories with APIs Camille Baldock, Government Digital Service @camille_

Upload: camille-baldock

Post on 28-Nov-2014

745 views

Category:

Technology


0 download

DESCRIPTION

FOWA keynote

TRANSCRIPT

Page 1: FOWA: Telling stories with APIs

Telling Stories with APIs

Camille Baldock, Government Digital Service !

@camille_

Page 2: FOWA: Telling stories with APIs

Health and Safety

Contains JSON

!

“Digital storytelling”-free

Page 3: FOWA: Telling stories with APIs

Health and Safety

Contains JSON

!

“Digital storytelling”-free

Page 4: FOWA: Telling stories with APIs

Health and Safety

Contains JSON

!

“Digital storytelling”-free

Page 5: FOWA: Telling stories with APIs

Health and Safety

Contains JSON

!

“Digital storytelling”-free

Page 6: FOWA: Telling stories with APIs

Antoine de

Saint-Exupéry

Page 7: FOWA: Telling stories with APIs

The Little Prince

Page 8: FOWA: Telling stories with APIs

Order and manner in which a narrative is presented to a reader, listener, or

viewer

Page 9: FOWA: Telling stories with APIs

Books Chapters Entries

Page 10: FOWA: Telling stories with APIs

Books Chapters Entries

Page 11: FOWA: Telling stories with APIs

Books Chapters

Pages

Page 12: FOWA: Telling stories with APIs
Page 13: FOWA: Telling stories with APIs

What is the user need?

Page 14: FOWA: Telling stories with APIs
Page 15: FOWA: Telling stories with APIs

Events Characters

Page 16: FOWA: Telling stories with APIs

JSON API !

HAL

Page 17: FOWA: Telling stories with APIs

HAL embeds child documents recursively

Page 18: FOWA: Telling stories with APIs

JSON API flattens the entire graph of objects at the top level

Page 19: FOWA: Telling stories with APIs

Caching

Page 20: FOWA: Telling stories with APIs
Page 21: FOWA: Telling stories with APIs

I want to understand the context of the story

Page 22: FOWA: Telling stories with APIs

Antoine de

Saint-Exupéry

Page 23: FOWA: Telling stories with APIs
Page 24: FOWA: Telling stories with APIs

schema.org

Page 25: FOWA: Telling stories with APIs

JSON-LD

Page 26: FOWA: Telling stories with APIs

Augment existing APIs without introducing breaking changes

Page 27: FOWA: Telling stories with APIs
Page 28: FOWA: Telling stories with APIs

I want to get a deeper understanding of life

Page 29: FOWA: Telling stories with APIs

Wat

Page 30: FOWA: Telling stories with APIs
Page 31: FOWA: Telling stories with APIs

“It is the time you have wasted for your rose that makes your rose so important.”

Page 32: FOWA: Telling stories with APIs

What not to do…

Page 33: FOWA: Telling stories with APIs

http://www.contextus.net/stories

Page 34: FOWA: Telling stories with APIs

Interpretation Story

Thing

Contextualises

Interprets Subject

Supports

Page 35: FOWA: Telling stories with APIs

Read interpretations

Page 36: FOWA: Telling stories with APIs

Write interpretations

Page 37: FOWA: Telling stories with APIs

Adding operations to JSON-LD with HYDRA

Page 38: FOWA: Telling stories with APIs

JSON API HAL

JSON-LD HYDRA

Page 39: FOWA: Telling stories with APIs

Telling stories

Page 40: FOWA: Telling stories with APIs
Page 41: FOWA: Telling stories with APIs
Page 42: FOWA: Telling stories with APIs
Page 43: FOWA: Telling stories with APIs
Page 44: FOWA: Telling stories with APIs

Picture acknowledgements!

http://yesnobananas.wordpress.com/2013/09/10/is-it-nuts-to-ban-gluten-on-changes-to-the-allergy-labelling-laws/

https://www.destroyallsoftware.com/talks/wat

http://commons.wikimedia.org/wiki/File:Small_Red_Rose.JPG

http://www.contextus.net/stories

http://www.creerdesliens.com/2013/04/15/differentes-versions-du-petit-prince-en-chinois/

!

Page 45: FOWA: Telling stories with APIs

Thank you

!

@camille_