GraphQL: Learning GraphQL with Node. Js

所在平台: Udemy

课程主页: https://www.udemy.com/course/learning-graphql-with-nodejs/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:GraphQL:使用 Node.js 学习 GraphQL 课程概述:GraphQL 是一种全新的 API 标准,提供了一种比 REST 更高效、灵活和强大的替代方案。它由 Facebook 开发并开源,现在由来自全球的众多公司和个人维护。API 已成为软件基础设施中无处不在的组成部分,API定义了客户端如何从服务器加载数据。GraphQL 核心的功能是支持声明式数据获取,客户端可以准确地指定需要从 API 获取的数据。不同于返回固定数据结构的多个端点,GraphQL 服务器仅暴露一个端点,并返回客户端所请求的确切数据。 GraphQL 优于 REST 的原因包括: 1. 随着移动设备使用量的增加,需要高效的数据加载。Facebook 开发 GraphQL 的初衷便是为了减少传输的数据量,以显著提升在低功耗设备和不稳定网络下的应用性能。 2. 前端框架和平台的多样性使得构建和维护一个适配所有需求的 API 变得困难。使用 GraphQL,每个客户端都可以精确访问所需数据。 3. 快速开发与对快速功能开发的期望。许多公司已经将持续部署作为标准,快速迭代和频繁更新产品已变得不可或缺。与 REST API 不同,GraphQL 能够支持更灵活的数据暴露方式,从而加速开发实践和产品迭代。 在本课程中,您将学习的内容包括: - GraphQL 的基本原理 - 为何需要 GraphQL - GraphQL 的基础知识 - 使用 Node.js 设置 GraphQL 服务器 - 将 GraphQL 与 Mongoose 集成 - 使用 GraphQL 和 Mongoose 执行 CRUD 操作 - 将 GraphQL 和 Node.js 应用与 Sequelize 集成 通过本课程,您将掌握使用 GraphQL 进行有效 API 开发的知识与技能。

课程评论(0条)

课程详情

GraphQL is a new API standard that provides a more efficient, robust and flexible alternative to REST. It was developed and open-sourced by Facebook and is now maintained by a large community of companies and individuals from all over the world. APIs have become ubiquitous components of software infrastructures. In short, an API defines how a client can load data from a server. At its core, GraphQL enables declarative data fetching where a client can specify exactly what data it needs from an API. Instead of multiple endpoints that return fixed data structures, a GraphQL server only exposes a single endpoint and responds with precisely the data a client asked for. How GraphQL is better than REST1. Increased mobile usage creates need for efficient data loadingIncreased mobile usage, low-powered devices and sloppy networks were the initial reasons why Facebook developed GraphQL. GraphQL minimizes the amount of data that needs to be transferred over the network and thus majorly improves applications operating under these conditions. 2. Variety of different frontend frameworks and platformsThe heterogeneous landscape of frontend frameworks and platforms that run client applications makes it difficult to build and maintain one API that would fit the requirements of all. With GraphQL, each client can access precisely the data it needs. 3. Fast development & expectation for rapid feature developmentContinuous deployment has become a standard for many companies, rapid iterations and frequent product updates are indispensable. With REST APIs, the way data is exposed by the server often needs to be modified to account for specific requirements and design changes on the client-side. This hinders fast development practices and product iterations.What you will learn?First of all I will teach you the basics or fundamentals of GraphQL then we will move forward to building APIS with GraphQL and NodeJs. This course will cover these following topicsWhat is GraphQLWhy do we need GraphQLFundamentals of GraphQLSetting Up GraphQL Server with NodeJsIntegrating GraphQL with MongoosePerform CRUD Operations with GraphQL and MongooseIntegrating GraphQL, NodeJs app to Sequelize

课程标签

0人关注该课程

主题相关的课程