Wednesday, July 23, 2014

Zone Updates Complete

I'm finished giving the URI! Zone code base a much needed refactoring. All code, no matter the source, grows uglier over time -- even if you haven't touched it at all. I cleared out a bunch of detritus from the days when it was written in PHP, and the even-earlier days when it used Netscape 3.0 Gold JavaScript to dynamically write every page.

All of the pages listing my musical compositions are now database-driven. I should have done this a long time ago, since I'm no longer composing anything new, and spent a good 4 hours every new release trying to edit the 80 static HTML pages that made up the Music section.

I also modified the directory structure of News Post images from /yymm/dd.jpg to yy/mm/dd.jpg. The explanation will only be interesting to nerds: After 14 years of 12 months each, the first approach resulted in an images directory containing over 160 subdirectories that had to be loaded by the FTP client every time I wanted to upload something. The new approach ensures that no directory will ever have more than 12 subdirectories to list.

There are a few cosmetic changes to the layout (check out that classy header), but most readers should be unaffected by my work, other than to marvel at my brazen modification of the production database while the site was running. The bulk of my readership uses a feed reader like Feedly anyhow, so updating the look and feel might be wasted effort, not unlike primetime TV commercials in my household. However, the tuning under the hood should keep the lights on for another few years -- at least long enough to hit TWENTY YEARS in August 2016. I won't be going anywhere before then, and neither should you!

If anything seems broken, and the issue doesn't go away after hard refreshing the page, please let me know.

tagged as website, programming | permalink | 6 comments
day in history


Previous Post: Zone Updates in Progress


Next Post: Review Day

 

You are currently viewing a single post from the annals of URI! Zone history. The entire URI! Zone is © 1996 - 2024 by Brian Uri!. Please see the About page for further information.

Jump to Top
Jump to the Front Page


July 2014
SMTWHFS
12345
6789101112
13141516171819
20212223242526
2728293031
OLD POSTS
Old News Years J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
visitors since November 2003