GithubHelp home page GithubHelp logo

mikelking / bacon Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 2.0 129 KB

Bacon is a framework for buildng sohpisticated plugins & themes for WordPress

License: BSD 3-Clause "New" or "Revised" License

PHP 100.00%

bacon's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿšš I have relocated most of my active GitHub repos to GitLab.

bacon's People

Contributors

fariasf avatar mikelking avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bacon's Issues

Create a wiki to document the library usages

It makes sense that we should utilize the built in wiki document how bacon works.

  • create a page for each class
  • demonstrate how things are interconnected
  • demonstrate how to use the plugin-stub
  • demonstrate what the WP_Base class is for
  • demonstrate how to extend a bacon class for site specifics

Implement a 'auto-esq' loader for the plugin-stub

Currently writing a standalone plugin is achievable but not without careful consideration. The plan is to provide some better steps to cover this process in the event that the destination site doe not have bacon installed as an mu-plugin library.

  • Add a library auto like loader to the plugin stub

  • Update the readme to demonstrate creating a standalone bacon wrapped plugin ( i.e. filet mignon)

WP_REST_Posts_Controller vs WP_REST_Terms_Controller

Received a report that the current entry in the class constant is incorrect and causing issues with Yoast SEO.

    // Terms.
    foreach ( get_taxonomies( array( 'show_in_rest' => true ), 'object' ) as $taxonomy ) {
        $class = ! empty( $taxonomy->rest_controller_class ) ? $taxonomy->rest_controller_class : 'WP_REST_Terms_Controller';

        if ( ! class_exists( $class ) ) {
            continue;
        }
        $controller = new $class( $taxonomy->name );
        if ( ! is_subclass_of( $controller, 'WP_REST_Controller' ) ) {
            continue;
        }

        $controller->register_routes();
    }

Create an asset manager

The 2.0 release of bacon shall include an asset management solution that implements an abstract enhancement to the current JavaScript handlers in WordPress.

Current features on the roadmap

  • extendable asset object definitions
  • async script enqueuing
  • deferred script enqueuing
  • above the fold js asset management
  • below the fold js asset management
  • enhanced localization management
  • enhanced dependency management

2.0 release

The 2.0 release of bacon shall include

[] the enhanced base plugin class
[] the sample wp base class
[] ad base classes
[] better documentation

Update the Cache control headers

In an effort to enhance the usability of the project and improve caching update the current class with more target standardized settings and methods.

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.