Frontend applications are getting more and more complicated, often delivering far more than just a UI. With this growing complexity comes a growing need for knowledge from the developers creating it, as they have to deal with matters like state-management, authorization, routing and more. In this talk, I’ll show you how to use GraphQL to create a data layer for your application, that exists between your frontend and your backend. In this data layer, you can handle complex matters to help you to keep your frontend application clean and «stupid».
This talk will show why applications have become too complex, when relying on generic REST APIs, by adding state-management and normalizations of the used data. The concept of having a data layer for this is not new, and has been seen before in software programming. If you’re already familiar with microservices, you probably also know the concept of Backends For Frontends (BFFs).
A GraphQL data layer for UIs share similarities with a BFF, as this data layer will be the abstraction on top of the existing (REST) services. Also, I’ll show how this abstraction makes you more flexible on the frontend while also creating a smooth migration path for your backend.
Аудитория и уровень