Results 1 to 3 of 3
Jun 28, 2013, 13:33 #1
- Join Date
- Apr 2006
- MA, USA
- 0 Post(s)
- 0 Thread(s)
Looking For Feedback: What do you think about this array structure?
I'm creating a personal CMS (no flames please lol).
I'm working on the interface users will use to create new plugins/modules/addons. I came up with this idea last night while lying in bed last night, and starting working on it this morning. This is what I've come up with so far.
The back end is OO, I plan on sticking to the PSR guidelines, and no, I don't want to use Drupal or Wordpress :-p (trying to head off any unhelpful comments here).
A parsing class will parse this array to build what the site needs regarding routing and permissions. It's still a work in progress, but I think I have something to go on. I'm an intermediate developer and it would be great if I could get positive constructive criticism from the community.
This is a little description of the array:
Here are a couple examples of how it would be used to create a hello_world plugin:
Single Page Simple Example - http://paste2.org/AEfnCKmA
Single Array Complex Example - http://paste2.org/z3p7kLX0
Multiple Pages and Blocks Example - http://paste2.org/8JGbCBwh
Overrides Example - http://paste2.org/UOLd20DX