OT: Templating systems (was RE: [Catalyst] New default screen for Catalyst)

Christopher Hicks chicks at chicks.net
Thu Oct 20 12:40:26 CEST 2005

On Wed, 19 Oct 2005, Wade.Stuart at fallon.com wrote:
>> I start to feel guilty from lauching this TROLL
>> (Is it clear enough ;-) )
> Thanks for stealing my trolling thunder.

lol.  Since you mentioned competing templating systems and I've really 
enjoyed doing development in Apache::ASP maybe you'd like it too. 
Catalyst is much better for things when there's time to think it out, but 
I still am used to doing "quick and dirty" thing in Apache::ASP.  Instead 
of the typical header/footer include garbage I get to use tags I define on 
each page like <app:page title=blah></app:page> to contain the entire 
page.  The "custom XML tag" maps to a Perl function you define.  In my 
case "app::page" always points to a simple function which takes the 
contents and attributes of the app::page tag and runs it into another 
template.  This other template is also in ASP in syntax, but (A) its one 
file so its easier for everybody and (B) since its fully ASP you can put 
custom nav code in there to your taste.

Catalyst is still my favorite Perl webdev enviroment, but Apache::ASP has 
done us well for years and doesn't get a whole lot of respect.  It taught 
me a lot.  In particular, even if I think most ASP/PHP programmers and 
code is not worth anything, the development model is easy which is why so 
many morons stick with it.  :)


"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

More information about the Catalyst mailing list