PATH://adammoro.net/code/php/

x_DB

This is the super alpha release of x_DB, a simple PHP solution for those who just won't use a database. x_DB is similar to a Content Management System with the main difference being that there is no database required to serve content. It consists of 10 files and seven directories:

get x_DB
  • index.php
  • .htaccess
  • x_media/
  • x_media/images
  • x_media/javascripts
  • x_media/javascripts/main.js
  • x_media/styles
  • x_media/styles/main.css
  • x_include
  • x_include/global
  • x_include/global/header.php
  • x_include/global/meta.php
  • x_include/global/top.php
  • x_include/global/sidebar.php
  • x_include/global/bottom.php
  • x_include/global/footer.php

The index.php file contains six PHP include files (i.e. header.php, sidebar.php, etc.) that essentially break up the components of a typical XHTML document. The CSS layout was adapted from a two-column fixed layout by Dynamic Drive. There is one main JavaScript document which is there to serve as a placeholder for any scripts you want to use. Simply uncomment the script tags calling them in the meta.php file to enable the libraries globally. I included the Scriptaculous and Prototype JavaScript libraries for you DHTML junkies as well.

As mentioned, this is the pre-super alpha release so it will be updated and updated and updated until I get bored with it or it's complete (ha!). If you like it, hate it, or think it's just dumb, let me know!