Graphene is currently the most popular framework for building a GraphQL in Python and it’s also an obvious choice for adding a GraphQL layer to Django applications. Over the course of a year, we successfully built an API with about 50 queries and over 100 mutations on top of existing Django project (Saleor), but we also learned some hard lessons and had to overcome several shortcomings of the framework along the way.
In this talk, I’d like to share some practical tips to overcome the most common problems that a Django developer might face when building an optimized and maintainable API with Graphene, such as: - using useful abstractions to build queries and mutations faster - optimizing database queries in a graph - structuring a large Graphene project - unified error handling
I’d also like to bring up a few limitations of the framework that we discovered as we were working on the project and then end the talk with the most important benefits that adoption of GraphQL brings to modern web applications development - both for the backend and frontend.
Prerequisites: - Intermediate knowledge of Django - Familiarity with API design and concepts in terms of web development - Basic knowledge of GraphQL or interest in it
I think the talk would be of great value to anyone working with a Graphene framework and those who want to know more about building GraphQL in Python.
All code examples in the presentation would be based on Saleor (https://github.com/mirumee/saleor).
Feedback form: https://python.it/feedback-1644
in __on Sunday 5 May at 11:45 **See schedule**