“Poor Man’s” CMS From The Ground Up — Part 3, Spit And Polish

Jason Knight
CodeX
Published in
18 min readFeb 10, 2023

--

Cleaning things up.
Photo by Anton on Unsplash

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?

  1. Completing the documentation of system level define, files, functions, and classes
  2. Updating summary comments at the start of all files, and unifying time/date/archive setting a milestone.
  3. A basic explanation doc of how to make new pages
  4. 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.
  5. 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.
  6. 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…

--

--

Jason Knight
CodeX

Accessibility and Efficiency Consultant, Web Developer, Musician, and just general pain in the arse