UCWCE

From UtterChaos
Revision as of 02:54, 25 February 2006 by Nybble (Talk | contribs)

Jump to: navigation, search

Utter Chaos Web Comic Engine

Modules

Page Loader

This module creates an XHTML page from the comic template, inserts the image reference to the specified comic, fills in the archive popup menu, and current news entries. As much of this work should be done before hand as possible to make this script run quickly for each page refresh.

Database Interface

This module acts as the abstraction between our internal objects and the database backend. This will probably interface with MySQL.

Comic Uploader

This module uploads comics into the engine and updates the database with the appropriate information.

News Poster

This module is used to add news posts to the database which will be used by the page loader.

Cron Updater

This module is run on a daily basis to post comic updates at a specified time in the future.

Search

This module will run a search for keywords, new posts, and comic dialog.

File Structure

The file structure will be specified here.

Schema

Schema for the MySQL DB backend

Comic Table

cid page date title comic_path Chapter Text description Status
1 1 2/6/2006 Enter the Dragon comic20060206.png 1 You killed my fish! live
2 2 2/8/2006 Exit Tiger comic20060208.png 1 Why does that pickle you? working

Indexed by cid, Full Text on title, Full Text on description, or Chapter. Sorted by Date or Page

News Table

cid nid date title poster entry status
1 1 2/6/2006 15:30 EST Enter the Dragon Artist Hey everyone, I posted a comic! live
1 2 2/7/2006 12:43 EST You Suck Writer Pthhhpbt live
2 3 2/8/2006 00:00 EST Exit Tiger Artist Waka waka working
2 4 2/9/2006 12:17 EST Lameness Admin I am lame working

Chapter Table

chapter title book status
1 Crash 1 live
2 Crashier 1 working

Book Table

book title status
1 Start! live
2 Downward working