GithubHelp home page GithubHelp logo

acf-custom-tables's Introduction

ACF Custom Tables

⚠️ Caution

This plugin is a work in progress. Don't use it in a prod environment for now. No written tests (bouh!) and security is… basic.

📚 Definition

It provides another way to handle all Advanced Custom Fields (basic and pro) in custom MySQL tables.

☕️ Context

Every people who worked with WordPress likes the simplicity of it, and ACF provides an easy way to add custom fields on posts, pages, and others things by doing a really good job. But while it take care of using the way WordPress works, it is not really adapted for hundreds of groups of dozens and dozens fields. It works, but front (not admin) performance is a mess when you need to request data. This is what we try to resolve with this plugin.

In fact, some plugins already exists to make what we want to achieve with this plugin, but they are not free, or they're too simple by handling only simple field, without pro fields, or fields working with sub-fields. This plugin is building all the required structure to handle all of them.

🚧 Progress

For now, it supports:

  • ✅ All basic fields (full support): text, textarea, number, range, email, url, password
  • ✅ All content fields (full support): image, file, wysiwyg, oembed, gallery
  • ✅ Group field (with recursive sub-fields)
  • Repeater field containing only basic fields (which store a single value), not recursively

For fields marked as fully supported, the MySQL data type is optimized based on the field parameter.

💯 Next steps

The first goal is to manage all fields, recursively, no matter how they are built.

More to come, but feel free to add issues with examples of what you need.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.