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 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.
What you'll learn from this tutorial:
* Why GraphQL is a compelling option for building an API
* How to build a php-graphql powered GraphQL API