so i’ve been thinking- maybe instead of trying to half-ass a back-end php thingy together to handle entire files, i should just separate the page into sections and templates a la wordpress. i understand that the main page is just a bunch of sections/templates that pull together different parts. maybe that’s what i should do here.
now that i think about it, this is exactly what i need. the header/footer sections will just be containers that get fill themselves in with html (that doesn’t change). the main section will call the latest (ex:highest numbered) file from a database or array of filenames and display it. the prev/next buttons at the bottom will either subtract or add 1 to it and display that in the main content section. it’s so simple. i don’t really know what i was thinking of doing before.
note to self-don’t forget about getting some sort of form-handling script together to further automate the posting process.
over and out
Home > About This Post
This entry was posted by 01101010 on Sunday, July 16th, 2006, at 10:22 pm, and was filed in geekery.
Subscribe to the
RSS 2.0 feed for all comments to this post.
Post a Comment