Posted Jun 07, 2004 in PHP.
I spent several hours creating a series of
include files today. I've always been a big fan of using includes to simplify things. In no particular order, today's work included (no pun intended):
The lion's share of the work was spent on
mime.php. I spent a good couple of hours writing a fancy object that could handle all my database work, and then I decided to scrap it in favor of sequential code. It seemed like I was using a sledgehammer to crack a nut, and I hate working with objects. I kept the code for a later project.
I re-wrote my script for serving up pages, because the needs of the new si-blog will be slightly different. At the same time, I decided to generate everything in UTF-8 in an attempt to give the new CMS a little more longevity.
Already, the project is suffering from scope creep. I keep thinking of new things that I want to incorporate, and many of these have required a general re-think.