Categories
Tags
apple codex comcast fail fbx gears of war 2 gentoo gitphp got root guitar hero gwu imac interview iphone iphone 3g linksys linux mantis mdb memcached mp3 new york comic con nightwatchman onenightdrunksongwritingexperiment pysoulforge red ring of death resume router school smarty soulforge tom morello towel trick windows work xbox 360 xxcache-
Recent Posts

Codex
Codex is a PHP/MySQL fanfiction database. It maintains cross-referenced data about fanfics, including authors, matchups, genres, and series, and can sort and display according to those criteria. Since there are all those complaining buttnuggets out there, I can only give you the source code and structure, you have to fill in the database information yourself. The only example entry is one for Guardian Angel by me, just so you can see how the database structure works.
The tables with two pieces of information in the name separated by an underscore (fic_series, fic_author, etc) are reference tables with no primary key, just foreign keys pointing to the primary ids for each table it references (in fic_series, for example, fic_id points to the fic we’re talking about and series_id points to the series it takes place in). The relations in the SQL comments, but there’s no real hard-coded relations – the tables are MyISAM, which doesn’t support relations natively, but innodb does. I chose MyISAM as the storage engine since it’s a write-once-read-many setup, so atomic transactions aren’t all that necessary.
There’s no easy way to add an entry now, you just edit the database directly. I’ll put an actual entry form out later. Don’t worry about conflicting version numbers for the SQL and the PHP. As long as you use the newest versions of them together, it won’t matter since they’ll work together. You’ll have to read the code to figure out more about how it works. If you do or would like to use it, you might want to drop me a line in case there are any features I’ve written but haven’t posted yet.
Changelog
Download
Older versions