Here the slide deck I presented during DevTalks Bucharest 2018. It covers the main features of the API Platform framework: we will install the framework, design an API data model as a set of tiny plain old PHP classes and learn how to get: A fully featured dev environment with Symfony Flex and React containers,…
Category: Symfony
Mastering the Symfony Serializer (PHP Tour)
The Symfony Serializer Component exists since the very beginning of Symfony 2. Years after years, it gained a lot of new features useful to transform various data formats to PHP structures and the opposite. It is also a foundation block of API Platform and a first-class citizen in FOSRest. Let’s dive into this component. We…
REST vs GraphQL: illustrated examples with the API Platform framework (PHPTour/SymfonyLive)
GraphQL is an increasingly popular alternative to REST architectures for building web APIs. The query language promoted by Facebook has undeniable advantages: retrieve exactly what the client need, limitation of the number of queries, strong typing, powerful and extremely well thought out syntax… However, it also suffers from often underestimated problems including HTTP cache, logs,…