~/talk

Let REST Do Rest: Deep Dive In GraphQL With Django

Talkat Python Web Conf 2021 · 2021-03-22..03-26· [django, graphql]
linkedin:nisargshah14
slides:none on file

Django + PostgreSQL APIs implemented with Graphene (code-first) and resolvers produce a GraphQL schema that maps Django models to types; create/edit mutations and list queries power a blog app and appear in GraphiQL auto-docs. The N+1 problem is diagnosed (one SQL per author when fetching author→blogs) and fixed with DataLoader batching, collapsing thousands of queries into a single IN query (select * from blog where author_id in (...)), which improves performance significantly. Versioning uses schema evolution and deprecation of fields.

AI-written summary · about

  1. 0:00Start
  2. 4:49Cons about the Rest
  3. 5:31Over Fetching
  4. 6:29Under Fetching
  5. 7:25Graphql
  6. 7:38Benefit of Using Graphql
  7. 11:24Concepts of Graphql
  8. 13:41Query
  9. 14:41How To Add or Edit Data in the Server
  10. 16:35Code First Approach
  11. 18:06Object Type
  12. 22:00Implementing the Graphql Apis
  13. 22:10File Structure
  14. 24:15Writing Queries
  15. 25:30How To Add a Blog
  16. 27:43Raw Sql Queries
  17. 29:17Data Loaders
  18. 33:57Versioning
  19. 34:22Rest Versioning
  20. 34:51Versioning of Graphql
  21. 35:44Divide the Schema
  22. 37:32Authentication
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.