OK, if you haven’t noticed….I have a new website. You can get to the old one at oldsite.progoth.com, but a lot of it probably will be broken. But I’m not worried about it.
I imported some of my more interesting news articles from the old site.
It took me 2 or 3 weeks to do this new site, working when I wasn’t doing school or work stuff.
If you care about details, the new site is written in php (obviously). I have one file, index.php, that has the layout and holds the information about what other pages exist. Then I made *.php.inc files for all the pages you see, specified by index.php?page=whatever. They have printTitle(), printSummary(), and printPageContent() methods that are called by the index, and then they can have their own functions to do their thing. I handled protected pages by putting them in a password protected subdirectory (such as /administration/), and symlinking to /index.php in each one. I wrote it to be flexible, so when I moved the new site from /~Progoth/beta/ to the main location, all I had to do was change one line at the top of index.php for all the css and images and whatnot to work.
I also converted all of my MySQL stuff to use PostgreSQL, a much more advanced open source database.
Pretty much the only thing I didn’t rewrite for the new site (that I actually kind of care about) is the ability to update information on site users. But, out of >160 users and 2 years of using the usermanager, I’ve used the Update feature a total count of Never times. So I figured it wasn’t worth it:)