~/talk

GraphQL, different way to think about APIs

Talkat phpDay 2018 · 2018-05-11..05-12· [graphql]
slides:none on file

GraphQL claims to cut REST ping‑pong by letting clients ask for exactly the fields they need in a single request, proven in a live GraphiQL demo that pulls Twitter data and in GitHub’s Explorer; originated at Facebook 2012 and open sourced 2015. It exposes a typed schema, supports mutations for changes and an RFC for subscriptions, and works as an API gateway (Apollo, graphcool PHP examples) combining microservices into one queryable graph.

AI-written summary · about

  1. 0:00Start
  2. 4:12FRAMEWORK FIRST!
  3. 4:41DATABASE FIRST!
  4. 5:42API FIRST!
  5. 6:39SO, WHERE TO START?
  6. 10:03UNIFORM INTERFACE
  7. 10:47STATELESS
  8. 11:09CLIENT SERVER
  9. 11:25LAYERED SYSTEM
  10. 16:17WHAT IS GRAPHQL?
  11. 17:16API QUERY LANGUAGE
  12. 17:27SERVER SIDE RUNTIME FOR QUERY EXECUTION USING DEFINED TYPE SYSTEM
  13. 24:20DEMO
  14. 33:01READS
  15. 33:12WRITES?
  16. 36:12CHANGE NOTIFICATION?
  17. 43:08ONE MORE THING.
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.