Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Latest commit

 

History

History
51 lines (40 loc) · 2.14 KB

research.md

File metadata and controls

51 lines (40 loc) · 2.14 KB

Research

Overview

We will gather research about different APIs for custom field plugins and others with their own Fields APIs for their forms.

The research we gather will give us a better picture of where things are at and what we can learn from each implementation.

Core

Third Party

What makes a Fields API?

A Fields API provides the ability to register fields to any given form. With custom fields, that often becomes the Post Editor screen or other add/edit screens for WP objects. With forms plugins, that can be registering forms themselves or extending form structures.

The goal of a Fields API is to avoid writing markup and to abstract those things so they offer the most comprehensive customizations in how those forms appear in different contexts.

Some Fields APIs focus on data structures similar to defining a database table and the corresponding columns. Other Fields APIs focus entirely on the form fields to output with some amount of handling for data saving included.