Giter Club home page Giter Club logo

wpkickstart's Introduction

wpkickstart

A great way to kickstart a new WordPress plugin or project.


Built and tested for PHP 5.6.20 through 7.2.0.

Installation โ†’

Get more information on the Wiki โ†’


Changelog

2.0.0

This release introduces a new concept that introduces mobility of things you build. It separates out services (think of these as features) and components (think of these as reusable things services use to do things) into services/ and components/.

The idea is that a service or a component (really just a folder of files) can have it's own classes, Javascripts, CSS, etc and each can move to other wpkickstart frameworks by moving their folder into the other one with minor code changes for it to work.

This should make the things you build in wpkickstart easily re-usable in other projects built on wpkickstart.

  • New Services and Components architecture (note component namespace changes)
  • wp CLI replacements, see wp kickstart build after you activate wpkickstart to set it up for your specific project
  • Easier wp based install, see Installation
  • More class flexibility (now if you new Anything() it will automatically autoload class-anything.php no matter where you put it)

Backwards Compatibility

2.0.0 is somewhat backwards compatible with later versions, but you may have to group your classes that used to be in includes/ with a component or a service.


1.2

This minor release fixes a major issue with $app being in the global space and conflicts with other plugins using the same architecture. #5

1.1

This is based off of some of 1.0's uses in different projects and has been improved to be more stable!

  • Added App::version() and App::header() methods for easy access to version and header information
  • Added Grunt for easy .pot file creation, etc
  • Adds App->wp-debug for easy WP_DEBUG detection
  • Uses App::attach() method to attach new classes (must add manually)
  • Uses App::hooks() method to run hooks when WP is ready (must add manually)
  • Adds better app() callback and global $app that can alternatively be called using global $app
  • Hardened phpunit testing for a good starting point for how the framework should work, you should be able to add additional tests with ease

1.0

This came directly from a breakdown of the WDS SSO plugin that used my app framework. It does not work perfectly and has issues that could be problematic, so please use a future version.

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.