WordPress / WordPress/Learn

Interactivity API: Full CRUD Tutorial

Open
#2,461 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Component] Content
Dominant language
PHP
Stars
333
Forks
127
Avg merge
1d 7h
Merged PRs (30d)
11

Description

Details

  • Topic description: Full Interactivity API example with Create - Read - Update - Delete (CRUD).
    The idea is a course like "Using the WordPress Data Layer"[1] , but based on the Interactivity API (IAPI) and, thus, frontend editing.

    There is already a basic IAPI introduction[2] by Magdalena Paciorek (@magdalenapaciorek), which helped me a lot, nevertheless, it's not changing any DB records.

    To demonstrate how IAPI is intended to work with CRUDing posts/CPTs, I think, an course would become helpful to many.
  • Audience: Plugin developoers
  • Learning objectives: Developers will be able to create fully-fledged plugins leveraging the features of the Interactivity API
  • Content type (Online Workshop, Lesson, Course, Tutorial, or Lesson Plan): Course
  • WordPress version (optional): 6.5++
  • Will you be creating this content? (Yes or No): No :-|

Related Resources

[1] https://learn.wordpress.org/course/using-the-wordpress-data-layer/
[2] https://developer.wordpress.org/news/2024/04/11/a-first-look-at-the-interactivity-api/#creating-a-donation-calculator

Next steps for SMEs

Please follow the team handbook "Vetting topic ideas" to vet this topic.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by following the Training Team handbook's “Vetting topic ideas” process, then review the existing Interactivity API introduction and the “Using the WordPress Data Layer” course linked in the issue. Done means the proposed CRUD course topic has been vetted and a decision has been made about whether to develop it.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.