GraphQL(一):GraphQL介绍GraphQL是什么GraphQL是facebook开源的一套数据交互方案,它并非某种具体的语言或者框架,它只是提供了一套解决方案,这套解决方案通过GraphQL规范进行定义,不同语言可以有自己的GraphQL实现,目前已经有很多语言完成了GraphQL的实现,可以在这里查看。怎么使用GraphQLGraphQL致力于提供一种直观的弹性语法系统,用以描述客户
转载 2023-07-03 09:57:37
107阅读
根据HOW TO GRAPHQL官网的例子,做了些对最新版的改动,适合最新框架的学习。本系列文章注重前端方面的开发,对于node方面的放在下一个系列。在此过程中有任何问题,都欢迎在评论中提问,会及时反馈系列目录:第一章. Frontend开始第二章. Queries组件编写(Loading Links)目标是写一个Hackernews应用。以下是应用功能:显示链接列表搜索链接用户登录登录用户可以创
目录背景为什么要用 GraphQL?为什么要用 Apollo Federation一个真实的案例小结:什么样的团队适合使用 GraphQL 背景GraphQL 自诞生以来就被寄予厚望,被认为是一种有望替代 REST 的新一代服务端调用方式。而 Apollo Federation 这个工具是对 GraphQL 的一种增强,让 GraphQL 能够更好地应用在微服务架构下。下面就来简单分析一下,为什
转载 2023-08-12 15:47:13
85阅读
GraphQL 是描述 GraphQL 服务器行为的规范。它是一组关于如何处理请求和响应的指南,如支持的协议、服务器可以接受的数据格式、服务器返回的响应格式等。客户端向 GraphQL 发出的请求服务器称为查询。GraphQL 的另一个重要概念是其传输层不可知性。它可以与任何可用的网络协议一起使用,如 TCP、websocket 或任何其他传输层协议。它对数据库也是中立的,因此您可以将它与关系数据库或 NoSQL 数据库一起使用。
翻译 2021-09-23 19:35:56
480阅读
# GraphQL的应用架构 ## 简介 GraphQL是一种用于构建API的查询语言和运行时。它由Facebook于2015年开发,用于解决传统RESTful API中存在的一些问题,如多次请求、过度或不足的数据等。GraphQL基于强类型系统,允许客户端定义自己需要的数据结构,从而提供更高效、灵活和精确的数据传输。 本文将介绍GraphQL的应用架构,并提供代码示例来说明其工作原理。
原创 2023-12-02 03:28:36
37阅读
GraphQL可以与任何可用的网络协议(如TCP,websocket或任何其他传输层协议)一起使用,它对数据库也是中立...
原创 2024-02-10 14:12:46
75阅读
2019GraphQL入门到精通https://www.bilibili.com/video/BV1Ab411H7Yv?from=search&seid=1681370
原创 2022-06-27 11:23:01
266阅读
In order to change the data that we can query for in a GraphQL Schema, we have to define what is called a mutation in GraphQL. Mutations allow us to s
转载 2017-01-10 20:02:00
278阅读
2评论
Interfaces are similar to Unions in that they provide a mechanism for dealing with different types of data. However, an interface is more suited for d
转载 2019-08-20 18:01:00
329阅读
2评论
To query a GraphQL API, all you need to do is send an HTTP request that includes the query operation in the body of the request. In this lesson, we wi
转载 2019-01-07 18:35:00
291阅读
2评论
WhendiscussingAPIdesign,RESTorRepresentationalStateTransferiswhatcomestomindfirst.ItisastandardtoolusedfordataretrievalfromtheserverthataccessesdatabyURLs.Clientapplicationswhilstprogressingintothenew
转载 2020-03-03 12:28:42
386阅读
一张官方的参考图 说明 Storage Layer API 参考了kubernetes 的设计 qloo 组成 qloo 有qloo 服务以及envoy proxy 组合而成,envoy proxy 作为sidecar qloo 操作envoy 作为control plane ,方便qloo 使用g
原创 2021-07-19 15:40:26
97阅读
一、GraphQL简介GraphQL的官方文档:https://graphql.cn (http://graphql.js.cool/)。官方有这一句话来描述的:GraphQL是一种用于API的查询语言。graphql对你的API中的数据提供了一套易于理解的完整描述,使得客户端能够准确的获得他需要的数据,而且没有任何冗余,也让API更容易的随着时间推移而演进。简单来说,就是客户端想要什么信息, 就
Introduction to GraphQL GraphQL介绍 Learn about GraphQL, how it works, and how to use it in this series of articles. Looking for documentation on how to
原创 2021-07-29 16:39:30
410阅读
2019GraphQL入门到精通  ​​https://www.bilibili.com/video/BV1Ab411H7Yv?from=search&seid=16813706797539177189​​视频 3express + GraphQL 代码介绍 (helloworld.js)  helloworld.jsconst express = requi
原创 2022-06-27 11:21:39
324阅读
2019GraphQL入门到精通 https://www.bilibili.com/video/BV1Ab411H7Yv?from=search&seid=16813706797539177189视频 1-2GraphQL 介绍GraphQL 特点GraphQL与 Restful区别...
ide
原创 2022-06-27 22:25:38
255阅读
尽管名为GraphQL,但它并不是一种简单的查询语言。这是一个全面解决现代应用与云.
原创 2022-06-25 00:43:58
134阅读
In this lesson we'll use a simple GraphQL IDL schema to deploy and explore a fully functional GraphQL service in minutes with graphql-up. Install: Cre
转载 2017-05-17 22:51:00
215阅读
2评论
一、GraphQL简介 1、什么是GraphQLGraphQL官网:https://graphql.org/,这个是英文的,https://graphql.js.cool/这个是中文的。 GraphQL是一种用于API的查询语言。GraphQL 既是一种用于 API 的查询语言也是一个满足你数据 ...
转载 2021-05-16 18:11:19
423阅读
2评论
As we start building out more complex GraphQL schemas, certain fields start to repeat across different types. This is a perfect use-case for the Inter
转载 2017-01-10 22:19:00
253阅读
2评论
  • 1
  • 2
  • 3
  • 4
  • 5