-
Notifications
You must be signed in to change notification settings - Fork 7
Refactor PHP #131
Comments
New folder structure:
Inc becomes framework and encompasses everything that is chopchop code. The idea to make it easily upgradable. Inside framework break down the files into more digestible nuggets. |
Each pattern to exist as a folder with a base.php pattern. If a doc.md exists we want to pull that in. So an example:
It would be displayed something similar to this: So... Title comes from folder name. |
Inside a pattern we want the following options (although an easy way to add them would be amazing).
This toggles whether the view code link is visible/
|
Functions that work inside each pattern:
|
A config file in the root called config.php would be good. Here we can change the folder order and structure. This currently lives in an array at the bottom of functions.php. |
Also getLink needs to be added in: #42 |
@daveredfern checkout the section-readme branch. @Triickii has done us a solid. Have a play/test and we can get this merged asap. |
The PHP is becoming more and more of a mess. We need to bring it under control.
The text was updated successfully, but these errors were encountered: