“Poor Man’s” CMS From The Ground Up — Part 3, Spit And Polish
Published in
18 min readFeb 10, 2023
In the last outing we reached the point of this new system outputting markup in an extremely basic template. This includes a default page, as well as error handling for “not found” (404) and “invalid URI” (one of many possible 400). It is so simple there are — so far at least — “obviously no errors.”
So what’s left?
- Completing the documentation of system level define, files, functions, and classes
- Updating summary comments at the start of all files, and unifying time/date/archive setting a milestone.
- A basic explanation doc of how to make new pages
- A more robust and complete template, aka “making it pretty” with CSS and adding some functionality I plan to use site-wide like the modal dialogs.
- Look it over and see if any common tasks warrant additional files or functions to reduce how hard one has to work in building content pages.
- Pack it all up in a portable form into a .rar
Finishing The Define/Files/Fn/Class Documentation
This isn’t too hard, it’s just time consuming. Thankfully a LOT of this work was done before I laid out a single line of code, such as the define prefixes, the index.php and .config…