loge.hixie.ch

Hixie's Natural Log

2002-05-10 16:10 UTC PLIF proof of concept

For... well, just over a year now, I've been working on a little project called PLIF: the Perl Logic Insulation Framework. It's a kind of COM system for Perl applications, designed to be as generic as possible. It is to me a little like a matchstick ship must be like to model makers: a work of art, rather than something that is going to ever be used in a production environment (or used to sail across the seas).

Despite all that, I'm actually using PLIF now for a real purpose now... this site! It only took about 4 hours and 200 lines of Perl (or is it Perl) code to hack this together, and yet it supports multiple users, changing e-mail addresses, HTTP authentication, HTTP content negotiation (not that there is anything to negotiate yet), templated outputs (and two different template languages -- a home grown one and Template Toolkit), both command line and web based interfaces, and a whole bunch of other cool stuff.

Admittedly, that's a bit of an overkill for a site like this, but it makes for a good proof of concept. If there is demand I might make the source available (it's GPLed).