|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/graphql-introduction-to-graphql-for-beginners/
课程评论:没有评论
课程名称:GraphQL:初学者的GraphQL入门 课程概述:数据驱动的应用程序依赖于通过API进行的远程查询。多年来,网络服务为简单的查询结构提供了基本支持,但这些服务常常限制了开发者的灵活性,无法满足更细化的需求。GraphQL是一种由Facebook创建的API查询语言,它使开发者能够选择所需的请求类型,并在一次请求中获取与该查询相关的多方面信息。GraphQL的查询方法可以解决各种大型开发问题。该课程将带领您逐步学习GraphQL的基础知识,包括如何获取和处理数据、查询架构、创建变量定义、创建变更(mutations)、创建片段(fragments),并掌握GraphQL的语法和术语。 课程内容包括: - GraphQL查询的结构 - GraphQL相较于REST API的优势 - GraphQL术语 - 格式化查询 - 传递参数及所需参数 - 使用GraphQL查询获取数据 - 创建基本查询 - 使用多个字段 - 理解架构 - 处理数据 - 深入嵌套字段查询 - 为参数值添加变量 - 创建和使用变更 - 使用别名(Aliases) - 使用片段(Fragments) - 使用多个变量定义 - 使用嵌套字段 - 使用和创建操作名称 - 使用输入对象进行变更 通过本课程,您将掌握GraphQL的基本操作,学习数据处理的复杂技巧,并能够有效地编辑和转化数据。
Applications that are data-driven depend on remote queries that run through APIs. For years, web services have provided basic support for simple query structures. Those services, however, often constrained developers who needed more granular approaches that provided flexibility without creating a huge collection of unnecessary calls. GraphQL-a query language for APIs that was originally built by Facebook-allows developers to choose the kinds of requests they want to make, and receive information on multiple facets of that query in one request. The GraphQL approach to querying across networks can address a wide variety of large-scale development problems. GraphQL enables you to nest multiple request in one query. In this course, you will learn how to get started with GraphQL step by step learning the basics of this query language, fetching data ,handling data,querying schema,creating variable definitions,creating mutations,creating fragments and getting you up to speed with the syntax and vocabulary of GraphQL. The course explains how to create basic queries, including how to work with arguments and multiple fields. Also you will learn complex techniques for handling data, including working with aliases, fragments, and pagination. Plus, how to edit and transform data with mutations.Topics include:Anatomy of a GraphQL QueryBenefits of GraphQL over REST ApIGraphQL TerminologyFormatting a queryPassing argumentsUsing Required argumentsFetching data with GraphQL QueriesCreating basic queriesUsing multiple fieldsUnderstanding schemasHandling dataDrilling down into nested fields with a queryAdding variables for argument valuesCreating mutationsUsing AliasesUsing FragmentsUsing multiple variable definitionsUsing nested fieldsUsing and creating operation names Using input objects with mutations.