[Maypole] Maypole + Mason - A good idea?

Paul Makepeace netthink.co.uk@paulm.com
Fri, 8 Oct 2004 17:06:40 +0100


Je 2004-10-08 17:02:22 +0100, Simon Wistow skribis:
> On Fri, Oct 08, 2004 at 04:50:25PM +0100, David R. Baird said:
> > is content wrapping. Basically, you get headers and footers 
> > automatically added to your templates without having to put any hooks 
> > in to the template itself to pick them up. That turns out to be a big 
> > deal, and I'd want it in any templating system I was using. 
> 
> You can, of course, do this in Template::Toolkit using the PRE_PROCESS 
> and POST_PROCESS options
> 
> http://www.template-toolkit.org/docs/plain/Modules/Template.html#Runtime_Processing_Options

And then there's the WRAPPER facility too, and those can be stacked.
Even the 'filling' can be moved around with some templating logic.
Very cool.

Paul

-- 
Paul Makepeace .............................. http://paulm.com/inchoate/

"What is the eifel tower? Nevermind, you are never gonna eat it."
   -- http://paulm.com/toys/surrealism/