~/talk

GraphQL on Rails

Talkat EuRuKo 2016 · 2016-09-23..09-24· [ruby-on-rails, graphql]
slides:none on file

Shows how GraphQL replaces many REST endpoints by requesting exact data shapes and keeps controller code tiny, using the graphql-ruby gem on Rails and client caches like Apollo/Relay for normalization. Describes a concrete N+1 problem and a working solution: graphql-batch loaders that batch DB fetches to eliminate per-item queries. Covers POSTing large queries, client-side normalized caching to restore cacheability, and guards (timeouts, max depth, complexity) that prevent malicious queries.

AI-written summary · about

  1. 0:00Intro
  2. 0:38Welcome
  3. 1:40UI Component
  4. 2:22Resources
  5. 4:08Custom Endpoint
  6. 5:13Reusable Endpoint
  7. 6:47Hello World example
  8. 7:42Name example
  9. 8:05Shop example
  10. 8:43Object types
  11. 9:20GraphQL type system
  12. 10:23Validation
  13. 10:48GraphQL Schema
  14. 11:55Graphical Schema Explorer
  15. 12:52Fragments
  16. 13:08Component fragments
  17. 13:41Mutations
  18. 14:13Graphical Ruby
  19. 14:54Field Name
  20. 15:30args
  21. 15:41schema
  22. 15:58query length
  23. 16:10controller
  24. 16:25query string
  25. 16:51GraphQL isnt a silver bullet
  26. 17:25Image queries
  27. 18:22HTTP Cache
  28. 18:53Normalized Cache
  29. 19:25Clientside Cache
  30. 19:45Clientside Caches
  31. 20:36Security
  32. 22:10Subscriptions
  33. 22:47Realtime Updates
  34. 23:11GraphQL defer
  35. 23:50Clientserver relationship
  36. 24:43Data shape
  37. 25:02Efficiency
  38. 25:13predictability
  39. 25:30GraphQL API
~/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.