Workshop in English - US at Longhorn PHP Conference 2019
View Slides: https://www.slideshare.net/andrewrota/tutorial-building-a-graphql-api-in-php
Checkout the code: https://github.com/andrewrota/longhornphp-graphql-tutorial
Short URL: https://joind.in/talk/c7f11 (QR-Code (opens in new window))
GraphQL is a powerful API query language that allows a web client to ask and receive the exact shape of the data it needs. As an alternative to REST, GraphQL promises to eliminate over-fetching data, reduce the need for multiple API calls, and let engineers move faster by leveraging the powerful developer tooling it enables.
This workshop will introduce you to key GraphQL concepts, and we’ll discuss together how GraphQL is different from other API technologies. Then we’ll take these concepts and apply them to building an actual a GraphQL API, end to end, in PHP. And along the way, we’ll discuss important topics such as security, performance optimization, and application architecture.
By the end of this workshop you’ll have a solid understanding of how GraphQL works. You’ll know how to spin up a GraphQL API in PHP, and what considerations you need to take into account. But most importantly, you’ll understand the tradeoffs and benefits of different API paradigms, and understand why GraphQL might be the right choice for your application’s API.