api工具 graphql
Building a web Application Programming Interface (API) traditionally involves a significant amount of work: defining routes, writing functions to fetch and shape data, ensuring a consistent interface, documenting the API with tools, and more. The list goes on and on.
传统上,构建Web应用程序编程接口(API)涉及大量工作:定义路由,编写函数以获取和成形数据,确保接口一致,使用工具记录API等。 清单不胜枚举。
GraphQL, an open source alternative framework for fetching data over HTTP, seeks to reduce much of the overhead of building more traditional web APIs. All data from a web service is provided at a single endpoint, and consumers can discover data schemas to then build and run queries to get only the data they need. The result is faster and more efficient development experience in many aspects of building and consuming the data layer.
GraphQL是一种用于通过HTTP提取数据的开源替代框架,它旨在减少构建更多传统Web API的大量开销。 来自Web服务的所有数据都在单个端点上提供,使用者可以发现数据模式,然后构建和运行查询以仅获取所需的数据。 结果是在构建和使用数据层的许多方面获得了更快,更有效的开发经验。
In this talk at the PDX Node meetup at OSCON 2018, software developer Daniel Lemay gives an introduction to GraphQL and provides demos and resources for getting started with the framework.
在OSCON 2018的PDX Node会议上的演讲中,软件开发人员Daniel Lemay对GraphQL进行了介绍,并提供了有关入门该框架的演示和资源。
You can watch the video below, or on the PDX Node YouTube channel (25 minute watch).
您可以观看下面的视频,也可以在PDX Node YouTube频道上观看(25分钟观看)。
api工具 graphql