Operation Back-To-Square-One-
Objective:
To revert back to the old way of querying the database for blogs.
Reasons:
(1) Generation of too many files makes maintanance hard and time consuming. For example, I used around 10 minutes to get rid of the 470 files generated by my blog.
(2) Duplication of code. The overall template is the same throughout. With the generation of individual pages, I have used up quite a substantial amount of available server space. If my template file is 5kb, after page generation, each page will be around 10kb, given the fact that I crap alot for most entries. With database query, I only need a file, and the rest are just my way of retrieving things.
(3) Easy Grouping. With querying instead of generating, I don't need to regenerate the pages when I make changes to the template or entries. I just need to refresh my page. It's a better and faster way to do things.
Well, at least I get the parsing of keywords correct. That's my aim in the first place. Now, I think I can start on the long-lost Yahoo! News section…
An update for today. Went running just now! Quite shiok. The temperature's cooling. A great night for a run. I had wanted to go running a few days back, but due to unforseen MSN chats and natural happenings (ie, rain), I have been forced to stay put. Ahh!!!
Tomorrow's Wednesday…