Home | Code | Web Content Management System

The Web Content Management System Page

After working through a couple of systems (none of which were completed) to manage my POV-Ray Cyclopedia with XML and Python, and after beign handed PTTW.org I decided to create a Content Management System that could work for these and my other big project, STMAA.org.

The content of a CMS project folder

The first part of my design process was to decide how I would organize the working directory. I have a few simple caveats here:

  1. The index page is dealt with elsewhere. It is a splash page with information but won't look the same as the content pages.
  2. The content pages will have a similar design to them
  3. The source of the content pages will be XML documents
  4. The output of the CMS will be HTML documents
  5. The directory structure of the CMS Project folder should reflect the directory structure of the page

With these in mind I drew the following diagram (isn't ascii art fun?)

-- Project Folder
|
+-- index.html 
|
+-- navigation.xml  
|
+-- cms.xml  
|
+-- SRC
|   
+-- IN
|  
+-- OUT
|
+-- images
|
+-- style

The SRC folder holds Python code modules for the individual processors