~/talk

GraphQL for mobile developers

Talkat Swift Heroes 2018 · on Friday, 2018-11-09· [graphql]
links:none on file
slides:none on file

GraphQL is useful for iOS when paired with Apollo client and a Django/Graphene backend: one endpoint serves precise queries, shrinking a film-list payload from ~18.8 KB to ~2.0 KB in the demo. The workflow uses the introspection schema to generate API.swift and speeds development (one and a half backend devs moved faster). Watch for hazards: base64 ID issue requiring decode, missing subscription support, Apollo cache defaulting to cached data, and offline complexity that led to a separate Realm sync.

AI-written summary · about

  1. 0:00Intro
  2. 0:24ABOUT ME
  3. 1:14INTRODUCTION
  4. 1:46WHAT IS IT?
  5. 3:03THIS IS ALL GOING TO GO A BIT...
  6. 3:40EXAMPLE - STAR WARS IMDB
  7. 5:28WHAT JUST HAPPENED?
  8. 5:40HOW DO WE DO THIS ON IOS?
  9. 8:04ADDING A NEW SCREEN TO STAR WARS IMDB
  10. 8:31CREATING A NEW QUERY
  11. 12:43IN ACTION..
  12. 13:16THE REST ALTERNATIVE
  13. 14:43MUTATING DATA
  14. 15:17HANDLING ERRORS
  15. 16:13WHAT WE'VE COVERED SO FAR...
  16. 16:35CASE STUDY
  17. 17:14PITFALL O: UPDATES
  18. 18:02IDs
  19. 20:01SUBSCRIPTIONS
  20. 20:54THE CACHE • Apollo has fancy caching
  21. 22:16OFFLINE
  22. 23:30OTHER PITFALLS
  23. 25:25CONCLUSION
  24. 25:43SHOULD YOU USE GraphQL?
  25. 27:06FURTHER READING
  26. 27:42QUESTIONS?
~/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.