couchmonkey
08-12-2003, 04:58 PM
I've been thinking of rebuilding one of my websites using PHP and MySQL and while I'm at it I think I should revise my file organization. There are more ways to do this than days in the month, so I thought someone else might have some good ideas, or might be aware of a standard method.
The site is a compendium of monsters from the Super Mario games (yeah, I'm a nerd, but then that should already be obvious if I'm making a web site with PHP and MySQL). Currently I have a folder for each monster that contains all the files for that monster, plus a folder for miscellaneous graphics. All of these folders are in the root. This system is nice because it's "transparent", I think anyone who knows the games could understand the organization of the site quite easily. But with 180 monsters and counting, finding my way through all those folders is getting tedious.
So far my favourite idea is to keep the current system but divide the folders up alphabetically - so I'd have an "A" folder and a "B" folder and a "C" folder and so on and they would contain characters whose names start with a, b, and c respectively. This solution is still fairly simple to understand and it is pretty expandable...even with 1000 characters on the site I would probably not have more than 100 character folders under any given letter.
Does anybody have other solutions? Simplicity and extendability are my prime directives ;) but I'm also interested in hearing "standard" solutions, if such beasts exist, and creativity is welcome too! :cool:
The site is a compendium of monsters from the Super Mario games (yeah, I'm a nerd, but then that should already be obvious if I'm making a web site with PHP and MySQL). Currently I have a folder for each monster that contains all the files for that monster, plus a folder for miscellaneous graphics. All of these folders are in the root. This system is nice because it's "transparent", I think anyone who knows the games could understand the organization of the site quite easily. But with 180 monsters and counting, finding my way through all those folders is getting tedious.
So far my favourite idea is to keep the current system but divide the folders up alphabetically - so I'd have an "A" folder and a "B" folder and a "C" folder and so on and they would contain characters whose names start with a, b, and c respectively. This solution is still fairly simple to understand and it is pretty expandable...even with 1000 characters on the site I would probably not have more than 100 character folders under any given letter.
Does anybody have other solutions? Simplicity and extendability are my prime directives ;) but I'm also interested in hearing "standard" solutions, if such beasts exist, and creativity is welcome too! :cool: