Me, Now, I Forget Things All the Time
Wed 2012-02-22 10:44:09 (in context)
- 1,400 words (if poetry, lines) long
So my plan this morning was to make "Last Week's Rhododendron" available for y'all to read, along with a bunch of other high school and college era publications. My plan was to say, "Hay you guyz! Lookit! First story I ever published, right here! LOLLERSKATES." It was going to be a very simple change to the website. Very. Simple.
Except I appear to be lost in a maze of twisty PHP includes, all alike. Or not alike, and there's the problem.
I was so clever when I built this website. I was going to do it right. I was going to learn object-oriented PHP properly... and here we'll pause for the Java developers in the audience to get all that snickering out of their system; yes, yes, I know, putting "object-oriented PHP" and "properly" in the same sentence is hilarious, yes, please do enjoy the joke... but anyway that's what I was going to do. Objects for handling blog entries, objects for handling manuscript data, objects for handling the both of them as different species of data entities. Objects for determining whether the viewer was me, and thus eligible to manipulate data, or not me, and thus eligible only for viewing. And all these class declarations filed away in their own include files, and each include file having a copy in staging and a copy that was live.
Then I didn't touch the code for some years. And I forgot how everything worked.
So what I've got is a page for displaying manuscript excerpts that works beautifully in the staging directory, but comes up almost entirely blank on the public version. I know why I did that in the first place -- I didn't want to expose the notes I'd written on each of my stories. Originally I wrote them for my own eyes only. I need to go through and make sure they're ready for prime time before I let y'all see 'em. So today I figured I was going to make an exception to that code specifically for "Rhododendron." BUT I CAN'T REMEMBER HOW THE CODE WORKS.
So I'll just be over here today, grumbling while my eyes glaze over trying to track Ariadne's thread through the labyrinth of code that Past Me created specifically to confuse Present Me.
Past Me was such a jerk. I'm this close to hoping she gets eaten by a minotaur.