[Pycon] [new paper] "Marcin Gębala" - Real world Graphene - lessons learned from building a GraphQL API on top of a large Django project
info a pycon.it
info a pycon.it
Sab 5 Gen 2019 21:40:24 CET
Title: Real world Graphene - lessons learned from building a GraphQL API on top of a large Django project
Duration: 45 (includes Q&A)
Q&A Session: 15
Language: en
Type: Talk
Abstract: Graphene is currently the most popular framework for building GraphQL in Python and it's also an obvious choice for many people who decide on adding a GraphQL layer to their Django applications. After using it for over a year we've successfully built an API with about 50 queries and over 100 mutations on top of existing Django project (Saleor), but we've also learned many hard lessons and discovered shortcomings of the framework that we had to overcome.
In this talk, I'd like to show practical tips on some of the most common problems that a Django developer has to face to build an optimized and maintainable API with Graphene e.g.:
- using useful abstractions to build queries and mutations faster,
- optimizing database queries in a graph,
- structuring a large Graphene project,
- unified error handling.
Apart from that, I'd like to bring up a few limitations of the framework that we didn't know about before we used it. Finally, I'd like to summarize with speaking about the most important benefits that adoption of GraphQL brings to modern web applications development - both for 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.
My talk would bring the biggest value to people who already worked or are working with Graphene framework and know or want to know more about building GraphQL in Python.
All code examples that would be shown in the presentation would be based on Saleor (https://github.com/mirumee/saleor).
Tags: [u'open-source', u'e-commerce', u'django', u'graphql', u'API Design']
Maggiori informazioni sulla lista
Pycon