~/talk

GraphQL in Python and Django

Talkat DjangoCon Europe 2018 · 2018-05-23..05-25· [graphql, python]
slides:none on file

GraphQL claims to replace many REST endpoints by letting clients ask for exactly the fields they need, reducing overfetching; Facebook creates it (2012) and open-sources it (2015). The Python ecosystem uses Graphene and Graphene-Django to expose Django models via DjangoObjectType, single /graphql POST endpoint, and GraphiQL IDE. Supports queries, mutations and subscriptions, field arguments, and introspection; authentication via sessions or JWT, manual field-level permissions, and mitigations like timeouts, depth limits and query cost. Teams report about a year of use across projects, easing front-end/back-end coordination.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:41Problems with REST APIs
  3. 8:16What is GraphQL
  4. 10:26GraphQL in Python
  5. 12:52Building a simple API
  6. 15:21Testing mutations
  7. 17:40Error handling and batch queries
  8. 18:01Security in GraphQL
  9. 20:26Performance and caching
  10. 23:11Experience and benefits
  11. 24:33Q&A session
~/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.