Geriatric code. Can't stand it.
Jun. 19th, 2005 12:25 amI can't stand geriatric code -- code so anchent it's a wonder it works. KeenSpace's autoupdate engine is the main highlight here.
I'm rewriting it. Parts are already working on the Wolf357 engine, and I'm testing it with my own comic on my laptop.
The design is much better -- metainfo (from the DB) is stored in a hash (comming from an SQL DB), and comic dates are stored in a hash of arrays. It's in Perl (like the old code), and uses Perl 5's reference (aka C-like pointers) features to keep the organization sane. Plugins are designed to be "write, chmod +x, and forget" instead of having to edit a central configuration file.
***todays_comics*** is implimented and tested.
***advertisement*** is implimented, but not tested.
***first/next/previous/last_day*** is being implimented.
I need to go through and see which tags are being used. Hei-ho shell scripting!!!
I'm rewriting it. Parts are already working on the Wolf357 engine, and I'm testing it with my own comic on my laptop.
The design is much better -- metainfo (from the DB) is stored in a hash (comming from an SQL DB), and comic dates are stored in a hash of arrays. It's in Perl (like the old code), and uses Perl 5's reference (aka C-like pointers) features to keep the organization sane. Plugins are designed to be "write, chmod +x, and forget" instead of having to edit a central configuration file.
***todays_comics*** is implimented and tested.
***advertisement*** is implimented, but not tested.
***first/next/previous/last_day*** is being implimented.
I need to go through and see which tags are being used. Hei-ho shell scripting!!!