Beginning GraphQL: Fetch data faster and more efficiently whilst improving the overall performance of your web application
暫譯: GraphQL 入門:更快速且更有效率地獲取資料,同時提升網頁應用程式的整體效能
Brian Kimokoti
- 出版商: Packt Publishing
- 出版日期: 2018-07-26
- 售價: $1,020
- 貴賓價: 9.5 折 $969
- 語言: 英文
- 頁數: 128
- 裝訂: Paperback
- ISBN: 1789610540
- ISBN-13: 9781789610543
-
相關分類:
Web API
海外代購書籍(需單獨結帳)
商品描述
Over-fetching and under-fetching data can negatively impact the performance of your web application. Future-proof your API structure and handle key development requirements by correctly defining types and schemas in GraphQL.
Key Features
- Includes server-side implementations using GraphQL.js, Apollo, Graphcool, and Prisma
- Understand an example client-side implementation of GraphQL in ReactJS using Apollo
- Implement over 20 practical activities and exercises across 5 topics that enable you to efficiently use GraphQL in production
Book Description
Though fairly new, GraphQL is quickly rising in popularity when it comes to API development. This book will teach you everything you need to know to start building efficient APIs with GraphQL. You'll begin by learning to create a simple scaffold application using Node.js and Express. Then, you'll explore core GraphQL concepts and study how GraphQL integrates with other frameworks in real-life business applications. By the end of the book, you will be able to successfully create efficient client-server REST-like applications.
What you will learn
- Understand core GraphQL concepts that can be used across different languages
- Understand the overall structure of GraphQL applications
- Use Apollo GraphQL for both server and client JavaScript applications
- Understand the key differences between GraphQL and REST
Who this book is for
This book is ideal for developers who want to broaden their understanding of API development. Prior experience to JavaScript is required, with any prior work with React or Node.js being beneficial.
Table of Contents
- Understanding GraphQL Concepts
- Querying Real-Time Data
- Integrating GraphQL with Server-Side Applications Using the Apollo Client
商品描述(中文翻譯)
過度擷取和不足擷取數據可能會對您的網頁應用程式性能產生負面影響。通過正確定義 GraphQL 中的類型和架構,為您的 API 結構未來做好準備,並處理關鍵的開發需求。
主要特點
- 包括使用 GraphQL.js、Apollo、Graphcool 和 Prisma 的伺服器端實作
- 了解在 ReactJS 中使用 Apollo 的 GraphQL 客戶端實作範例
- 實作超過 20 個實用活動和練習,涵蓋 5 個主題,使您能夠在生產環境中有效使用 GraphQL
書籍描述
雖然 GraphQL 相對較新,但在 API 開發方面的受歡迎程度迅速上升。本書將教您所有需要知道的知識,以開始使用 GraphQL 構建高效的 API。您將首先學習如何使用 Node.js 和 Express 創建一個簡單的骨架應用程式。接著,您將探索核心的 GraphQL 概念,並研究 GraphQL 如何與其他框架在實際商業應用中整合。到書籍結束時,您將能夠成功創建高效的類 REST 客戶端-伺服器應用程式。
您將學到什麼
- 理解可以在不同語言中使用的核心 GraphQL 概念
- 理解 GraphQL 應用程式的整體結構
- 在伺服器和客戶端 JavaScript 應用程式中使用 Apollo GraphQL
- 理解 GraphQL 和 REST 之間的主要差異
本書適合誰
本書非常適合希望擴展 API 開發理解的開發人員。需要具備 JavaScript 的先前經驗,任何與 React 或 Node.js 的工作經驗將是有益的。
目錄
- 理解 GraphQL 概念
- 查詢即時數據
- 使用 Apollo 客戶端將 GraphQL 與伺服器端應用程式整合