Build A CMS
This set of demos illustrate the process of creating a simple flat-file content management system for websites. 'The Nip Shoppe', a catnip emporium, will be used in all the examples.
A demo of the complete project can be found at The Nip Shoppe.
CMS Step 7
2020-07-20Now that we have organized the parts of our website and created some flat-file data records, we are ready for the next step - providing a password-protected administrative page. That way, a user cou... Read More
CMS Step 6
2020-07-20Instead of each page file consisting of a series of 'includes' statements, we can use a shortcut - let each page behave like 'record'. Now, there is a character-delimited text file for each page, c... Read More
CMS Step 5
2020-07-20Now, we have added a new folder - 'pages' . Each file in the pages folder uses 'includes' statements that construct the page from elements in the the HMTL and columns folders. Although there are onl... Read More
CMS Step 4
2020-07-20This demo includes a second web page. As with the first, this page is composed of code from the HTML folder and the coumns' 'folders. A menu at the top allows the user to switch pages.
Two versi... Read More
CMS Step 3
2020-07-20In this demo, the HTML is divided further. Two new folders are created: "HTML" and "columns". As in Demo-1 and Demo-2, the index file uses 'includes' statements to generate the page.
... Read More
CMS Step 2
2020-07-20In this demo, the HTML code for the header, body and footer has been divided into three files, which are then combined with PHP 'includes' statements. The web page looks the same as in Demo 1.
D... Read More