Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

koschei (147)

koschei
  useperl@dellah.org
http://eh.org/~koschei/

Um. Me. Iain Truskett. Can be found as either Spoon or Koschei around the place, and as Braxiatel in rare circumstances. Um. Cool. Ta.

My perl svn repository [dellah.org] if you want bits of code by me. Also see dellah.org [dellah.org] for most of them in action.

My friends [perl.org], foes [perl.org], fans [perl.org], and freaks [perl.org]. And you can see what my friends are journalling [perl.org].

And everybody's journals [perl.org] (in order of updating).

Journal of koschei (147)

Monday April 23, 2001
05:15 AM

Reviews

[ #80 ]

It's a while since the reviews section of my website has worked. So I'm taking this opportunity to rewrite the code in order to get it working again.

What was wrong with the old code? Mostly it was that it wasn't very extensible. And it tended to store the data in a fairly non-portable form.

This new version stores it in XML (courtesy XML::Simple ). Normally, I would use XSLT to produce the pages, but I'm not in the mood for that, so I'm writing assorted bits of code to turn the reviews into Review::* objects which, via a bit of what Java-afficiandos calls reflection (or was it introspection?), essentially tell the main process program how to render the objects.

The Review::* objects are necessary since I'll be reviewing assorted things (books, films, whatever). Mainly films, but that's because I'm a member of the ANU Film Group which is a lovely little organisation.

Anyway, back to the coding...