Welcome to Central Library, SUST
Amazon cover image
Image from Amazon.com
Image from Google Jackets

Learning GraphQL : declarative data fetching for modern web apps / Eve Porcello and Alex Banks.

By: Contributor(s): Material type: TextTextEdition: First editionDescription: ix, 185 p. ill. ; 25 cmContent type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9789352137589
Subject(s): Additional physical formats: Print version:: No titleDDC classification:
  • 006.312 23 POL
Contents:
Intro; Copyright; Table of Contents; Preface; Acknowledgments; Conventions Used in This Book; Using Code Examples; O'Reilly Safari; How to Contact Us; Chapter 1. Welcome to GraphQL; What Is GraphQL?; The GraphQL Specification; Design Principles of GraphQL; Origins of GraphQL; History of Data Transport; Remote Procedure Call; Simple Object Access Protocol; REST; REST Drawbacks; Overfetching; Underfetching; Managing REST Endpoints; GraphQL in the Real World; GraphQL Clients; Chapter 2. Graph Theory; Graph Theory Vocabulary; History of Graph Theory; Trees are Graphs; Graphs in the Real World
Chapter 3. The GraphQL Query LanguageGraphQL API Tools; GraphiQL; GraphQL Playground; Public GraphQL APIs; The GraphQL Query; Edges and Connections; Fragments; Mutations; Using Query Variables; Subscriptions; Introspection; Abstract Syntax Trees; Chapter 4. Designing a Schema; Defining Types; Types; Scalar Types; Enums; Connections and Lists; One-to-One Connections; One-to-Many Connections; Many-to-Many Connections; Lists of Different Types; Arguments; Filtering Data; Mutations; Input Types; Return Types; Subscriptions; Schema Documentation; Chapter 5. Creating a GraphQL API; Project Setup
ResolversRoot Resolvers; Type Resolvers; Using Inputs and Enums; Edges and Connections; Custom Scalars; apollo-server-express; Context; Installing Mongo; Adding Database to Context; GitHub Authorization; Setting Up GitHub OAuth; The Authorization Process; githubAuth Mutation; Authenticating Users; Conclusion; Chapter 6. GraphQL Clients; Using a GraphQL API; fetch Requests; graphql-request; Apollo Client; Apollo Client with React; Project Setup; Configure Apollo Client; The Query Component; The Mutation Component; Authorization; Authorizing the User; Identifying the User
Working with the CacheFetch Policies; Persisting The Cache; Updating the Cache; Chapter 7. GraphQL in the Real World; Subscriptions; Working with Subscriptions; Consuming Subscriptions; Uploading Files; Handling Uploads on the Server; Posting a New Photo with Apollo Client; Security; Request Timeouts; Data Limitations; Limiting Query Depth; Limiting Query Complexity; Apollo Engine; Taking the Next Steps; Incremental Migration; Schema-First Development; GraphQL Events; Community; Community Slack Channels; Index; About the Authors; Colophon
Summary: Why is GraphQL the most innovative technology for fetching data since Ajax? By providing a query language for your APIs and a runtime for fulfilling queries with your data, GraphQL presents a clear alternative to REST and ad hoc web service architectures. With this practical guide, Alex Banks and Eve Porcello deliver a clear learning path for frontend web developers, backend engineers, and project and product managers looking to get started with GraphQL. You'll explore graph theory, the graph data structure, and GraphQL types before learning hands-on how to build a schema for a photo-sharing application. This book also introduces you to Apollo Client, a popular framework you can use to connect GraphQL to your user interface. Explore graph theory and review popular graph examples in use today Learn how GraphQL applies database querying methods to the internet Create a schema for a PhotoShare application that serves as a roadmap and a contract between the frontend and backend teams Use JavaScript to build a fully functioning GraphQL service and Apollo to implement a client Learn how to prepare GraphQL APIs and clients for production.
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Current library Call number Copy number Status Date due Barcode
Books Books Central Library, SUST General Stacks 006.312 POL (Browse shelf(Opens below)) 1 Available 0076876
Books Books Central Library, SUST 006.312 POL (Browse shelf(Opens below)) 2 Available 0076875
Books Books Central Library, SUST General Stacks 006.312 POL (Browse shelf(Opens below)) 3 Available 0077885

Includes index.

Intro; Copyright; Table of Contents; Preface; Acknowledgments; Conventions Used in This Book; Using Code Examples; O'Reilly Safari; How to Contact Us; Chapter 1. Welcome to GraphQL; What Is GraphQL?; The GraphQL Specification; Design Principles of GraphQL; Origins of GraphQL; History of Data Transport; Remote Procedure Call; Simple Object Access Protocol; REST; REST Drawbacks; Overfetching; Underfetching; Managing REST Endpoints; GraphQL in the Real World; GraphQL Clients; Chapter 2. Graph Theory; Graph Theory Vocabulary; History of Graph Theory; Trees are Graphs; Graphs in the Real World

Chapter 3. The GraphQL Query LanguageGraphQL API Tools; GraphiQL; GraphQL Playground; Public GraphQL APIs; The GraphQL Query; Edges and Connections; Fragments; Mutations; Using Query Variables; Subscriptions; Introspection; Abstract Syntax Trees; Chapter 4. Designing a Schema; Defining Types; Types; Scalar Types; Enums; Connections and Lists; One-to-One Connections; One-to-Many Connections; Many-to-Many Connections; Lists of Different Types; Arguments; Filtering Data; Mutations; Input Types; Return Types; Subscriptions; Schema Documentation; Chapter 5. Creating a GraphQL API; Project Setup

ResolversRoot Resolvers; Type Resolvers; Using Inputs and Enums; Edges and Connections; Custom Scalars; apollo-server-express; Context; Installing Mongo; Adding Database to Context; GitHub Authorization; Setting Up GitHub OAuth; The Authorization Process; githubAuth Mutation; Authenticating Users; Conclusion; Chapter 6. GraphQL Clients; Using a GraphQL API; fetch Requests; graphql-request; Apollo Client; Apollo Client with React; Project Setup; Configure Apollo Client; The Query Component; The Mutation Component; Authorization; Authorizing the User; Identifying the User

Working with the CacheFetch Policies; Persisting The Cache; Updating the Cache; Chapter 7. GraphQL in the Real World; Subscriptions; Working with Subscriptions; Consuming Subscriptions; Uploading Files; Handling Uploads on the Server; Posting a New Photo with Apollo Client; Security; Request Timeouts; Data Limitations; Limiting Query Depth; Limiting Query Complexity; Apollo Engine; Taking the Next Steps; Incremental Migration; Schema-First Development; GraphQL Events; Community; Community Slack Channels; Index; About the Authors; Colophon

Why is GraphQL the most innovative technology for fetching data since Ajax? By providing a query language for your APIs and a runtime for fulfilling queries with your data, GraphQL presents a clear alternative to REST and ad hoc web service architectures. With this practical guide, Alex Banks and Eve Porcello deliver a clear learning path for frontend web developers, backend engineers, and project and product managers looking to get started with GraphQL. You'll explore graph theory, the graph data structure, and GraphQL types before learning hands-on how to build a schema for a photo-sharing application. This book also introduces you to Apollo Client, a popular framework you can use to connect GraphQL to your user interface. Explore graph theory and review popular graph examples in use today Learn how GraphQL applies database querying methods to the internet Create a schema for a PhotoShare application that serves as a roadmap and a contract between the frontend and backend teams Use JavaScript to build a fully functioning GraphQL service and Apollo to implement a client Learn how to prepare GraphQL APIs and clients for production.

Copyright © 2018 Moon Highway, LLC

Vendor-supplied metadata.

There are no comments on this title.

to post a comment.