• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

harness-software/wp-graphql-gravity-forms: GraphQL API for interacting with Grav ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

harness-software/wp-graphql-gravity-forms

开源软件地址(OpenSource Url):

https://github.com/harness-software/wp-graphql-gravity-forms

开源编程语言(OpenSource Language):

PHP 97.9%

开源软件介绍(OpenSource Introduction):

alt text

WPGraphQL for Gravity Forms

A WordPress plugin that provides a GraphQL API for interacting with Gravity Forms.

Packagist License Packagist Version GitHub commits since latest release (by SemVer) Coverage Status WordPress Coding Standards Code Quality Schema Linter GitHub forks GitHub Repo stars

Overview

Using WordPress as a headless CMS with a separate JavaScript-powered frontend single-page app is an increasingly popular tech stack. Traditionally, REST APIs have been used for the purpose of sending data back & forth between the frontend and backend in setups like this but the REST architecture has its limitations.

Using GraphQL means that if your frontend app needs to fetch data for a number of different resources, all of that data can be fetched from the server with a single request. Your frontend app can even define which fields it requires for each of the resources, giving it full control over which pieces of data are fetched and included in the response.

Fortunately, a GraphQL implementation exists for WordPress - WPGraphQL.

WPGraphQL for Gravity Forms extends the WPGraphQL plugin, allowing frontend apps to interact with the Gravity Forms data stored in a headless WordPress backend. This plugin couples the great forms functionality of Gravity Forms with the powerful WordPress-specific GraphQL implementation that WPGraphQL provides.

Our hope for this open source project is that it will enable more teams to leverage GraphQL for building fast, interactive frontend apps that source their data from WordPress and Gravity Forms.

System Requirements

Quick Install

  1. Install & activate WPGraphQL.
  2. Install & activate Gravity Forms and any supported addons.
  3. Download the zip of this repository and upload it to your WordPress install, and activate the plugin.

Supported Features

  • Querying forms and entries.
  • Submitting forms.
  • Updating entries and draft entries.
  • Deleting entries and draft entries.
  • Triggering builds with WPGatsby and Jamstack Deployments

Future Feature Enhancements

View all Feature Requests

  • Add support for Experimental form fields Github Issue
  • Ability to query for lists of draft entries.
  • Ability to get the total count for a list of entries.
  • Ability to create, update, and delete an individual Gravity Form.

Documentation

Recipes




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap