I guess you missed this part
Keep in mind, it is a refactor of Squire 3. I would do do things a bit different on a clean write.
and the other posts where I clearly said it was just an architecture change with the same output as you already have. In any case it is still easily scaled up to a database and wouldn't require 28 pages for every database table. Which by the way you still haven't answered the elephant in the room...
*********************************************************************************
Jason, I have already "setup" your CMS. Will it in fact require 28 NEW files for each and every new table I add?I added a suppliers table to the database. Please tell me the exact steps I need to be able to add/edit/delete records from this table. I am not concerned with DB setup, the table already exists.
*********************************************************************************
All you've done is slapped it together as static markup,
All
YOU had was static pages. I only refactored to output what was already there to do exactly what it already did. Nothing more.
It lays no groundwork for adding SQL integration
This is moot. Adding "SQL integration" is a nothing burger. A first week noob could add in any database functionality with no problem. Your implementation? Lol, even me with over 30 years experience isn't even sure how to add it with out a lengthy deep understanding of what you are doing or asking you for an explanation as I just did.
you've got ZERO provision for adding new pages without having to edit the index.php
Oh noes! I have to type a key & value into an array! A lot easier than having to create 28 pages for every DB table I add.
you've got that wasteful array that's only going to get worse the more pages you add.
That is not how I would do it on a real build but is similar so you would just say the same thing about that as well. It is pretty much how EVERY CMS does it (Except yours of course). We all already know your thoughts about other CMS's so no need for another rant about it.
Don't even get me started about how you have zero provision for proper friendly URI's since you're blindly using JUST that derpy array.
Seriously Jason? The URI can be anything you want it to be. Blindly? If your going to just blast out accusations how about backing up what you are talking about with a good explanation or a code example. Nobody knows what you mean by blindly. You can make whatever claims you want and I welcome it, but I have to insist you be clear about what you are saying, otherwise it is just meaningless hot air that doesn't help anyone.
You've gone far below the task complexity requirement of a CMS
I didnt make a CMS, I re-wrote what you did to do exactly what it already did.
if one were to scale this up it would illustrate what utter JUNK "routing" is... because having to manually edit the menu and that "routing" array just because you want another page? That's junk.
That is subject to debate. Wait, what?? "scale up"? What was all that hot air you were spewing about "scalability?"
Laugh is though, we're ALMOST on the same page since if that's your idea of routing, I'm just using the existence of sub-folders as my "route".
It routes, just as Paladin "routes", but it is not what would be considered a "Router" as one is commonly known to be. I used to do something similar to "sub-folders as my "route"" when I was a noob doing only procedural coding. There is nothing wrong with it. It just isn't OOP. In fact, I have a branch of my OOP CMS that I keep in sync that is the same type of thing as you are doing. I actually like it for the fact that I can just throw in a page and they "system" will automatically respond with the file matching the URL.
Really weird part though being I'm not 100% sure how one adds a new page to your system, since it seems to have zero separation of template from content.
Oh c'mon Jason! Serious? You really need an explanation? Okay..
Take your content page (Minus the header, footer, menu, & nav) and put it in the pages directory. In the index.php add a new key and value to the array. The key is whatever you want the URL path to be. The value is the actual name of the file you put in the templates directory. Now just go to the url path. Oh wowz, it works! I think you are just Coitusing with me on this.
Are you REALLY going to repeat the same markup for each and every joe blasted possible http error code?
Are YOU really going to create a separate text file for every "joe blasted" HTTP error when the server ALREADY handles HTTP errors on its own? I guess so because you did. You do know how servers work don't you?
And I really think you completely missed how/what the extra's even are / are for / are implemented
Yeah, you got me there. I have no clue. I have also never seen anything like it, so congratulations I guess. If you are having to constantly explain how things work even to experienced programmers, you are probably doing something wrong.
you've made it HARDER to add pages to. In fact, the more pages you add, the less efficient and more bloated it's going to get
Really? I just explained the TWO steps to adding a page. That is harder? Bloated? A key/value for a page is bloated? Coming from "Mr. I have to create 28 new files that are scattered throughout multiple folders for every DB table I add". Now THAT is bloated!
It might spit out the same markup, but on the back end you're leaving the ability to do anything of value high and dry.
Now your just spewing unsupported nonsense. Anything can easily be added and very simply at that.
You continue this "design pattern" it's going to be an utter ****-show by the time you get to having database and user-actions.
Yeah, NO! More unsupported hot air. It would be so simple it is not even funny.