>>>>> "Andy" == Andy Wardley <[EMAIL PROTECTED]> writes:
Andy> Check out stonehenge.com which Randal has recently relaunched with a Andy> Splash interface. Although it's an ad-hoc standard, it is at least Andy> a reasonably well-defined interface to code against. When he wants Andy> to change the look and feel, Randal can create a new set of widget Andy> templates that conform to the same interface and shouldn't have to Andy> touch any of his content pages. *cough* In theory ... :-) In practice, I was in a hurry, so the whole thing is spaghetti-coded. I'm having to go through now and clean it up based on what I learned on the first pass. I have to do that before I write more columns on it. :) Having said that, when I needed to add the "pictures" stylesheet for the stuff down below http://www.stonehenge.com/merlyn/Pictures/, it fit into the framework trivially, overriding the content interpretation for the index.html from an HTML file to a list of keyword-value pairs. (I don't dare post the code here because Perrin will be on my ass for a 150-line TT subroutine instead of putting the calculations in Perl where they belong. {grin}) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
