hellofromtonya / lab-data-store

Lab - Centralized Data, Store, & Config Store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data Store Lab

The starter kit for the Data Store hands-on coding lab series on Know the Code.

What is a data store?

A data store provides you with a centralized, globally available, and persistent way to store values (data and state) and configuration parameters.

3 Different Architectures

In this lab series and plugin, you'll build the data store in 3 different ways:

  • Procedural - all function based
  • Static Class - procedural wrapped inside of a class and using static methods and properties
  • OOP - as an object

Installation

  1. Fork this repo to your personal GitHub account.
  2. On your computer, open up your favorite command line (terminal) app.
  3. Navigate to the /wp-content/plugins folder of your project.
  4. In your GitHub repo:
    1. Click on the green "Clone or download" button.
    2. Click on the "Use HTTPS".
    3. Click on the copy icon to copy the URL into your clipboard.
  5. Clone your GitHub plugin repository by copying/pasting this line of code onto the command line: git clone and then paste the link you copied in the previous step.

About

Lab - Centralized Data, Store, & Config Store

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%