GraphQL in Action
Samer Buna
  • ISBN 9781617295683
  • 375 pages (estimated)
  • printed in black & white

My go to introduction to GraphQL. This was the resource that made it all click for me.

Jeremy Lange
Reduce bandwidth demands on your APIs by getting only the results you need—all in a single request! The GraphQL query language simplifies interactions with web servers, enabling smarter API queries that can hugely improve the efficiency of data requests. In GraphQL in Action, you’ll learn how to bring those benefits to your own APIs, giving your clients the power to ask for exactly what they need from your server, no more, no less. Practical and example-driven, this book teaches everything you need to get started with GraphQL—from design principles and syntax right through to performance optimization.

About the Technology

The type-based GraphQL query language solves issues with over- or under-fetching data from an API, providing client apps with a predictable interface for interacting with a server. By organizing data as types and fields, GraphQL gives apps complete control over what they’re requesting, including data format, how much to fetch, and more. The result is faster transfer roundtrips, errors that are easier to spot, and virtually no need for clients to write time-consuming manual parsing code. Language-agnostic, GraphQL can be used with any language and incorporated easily into your existing stack.

About the book

In GraphQL in Action, you’ll learn to use GraphQL to simplify interactions with your web servers and improve the performance of your data APIs. Twenty-year web development veteran Samer Buna starts by introducing GraphQL’s unique query-based API paradigm, laying out its unique design concepts and advantages over traditional APIs. From there, you’ll master the GraphQL way of creating APIs for hierarchical data, unlock easy ways to incorporate GraphQL into your existing codebase, and learn how to consume a GraphQL API with queries, mutations, and subscriptions using the GraphQL query language. When you’re done, you’ll have all the skills you need to get started writing and using scalable data APIs with GraphQL. GraphQL is a new paradigm. Are you ready?

What's inside

  • Define a GraphQL schema for relational and document databases
  • Query services and other APIs efficiently
  • Optimize GraphQL resolvers with data caching and batching
  • Cache a data graph for clients
  • Design GraphQL fragments that match UI components' data requirements

About the reader

For web developers familiar with building client-server applications.

About the author

Samer Buna has over 20 years of experience in software development including front-ends, back-ends, mobile apps, API design, databases, and scalability. He operates jsComplete.com.

placing your order...

Don't refresh or navigate away from the page.
Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
print book $49.99 pBook + eBook + liveBook
Additional shipping charges may apply
GraphQL in Action (print book) added to cart
continue shopping
go to cart

eBook $39.99 3 formats + liveBook
GraphQL in Action (eBook) added to cart
continue shopping
go to cart

Prices displayed in rupees will be charged in USD when you check out.
customers also bought
customers also reading

This book

FREE domestic shipping on three or more pBooks

RECENTLY VIEWED