Re: [Maypole] Maypole + Mason - A good idea?

From: Paul Makepeace (netthink.co.uk at paulm.com)
Date: Fri Oct 08 2004 - 17:06:40 BST


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/

_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT