[Catalyst] Re: Announce: Website In A Box

Thomas Klausner domm at cpan.org
Wed Mar 21 20:54:50 GMT 2007


Hi!

On Wed, Mar 21, 2007 at 04:47:15PM -0400, Christopher H. Laco wrote:
 
> Or more to the point... have app supplied templates, and be able to user
> user customized templates in combination with the app
> templates...without have to worry about sources, merging, upgrade, etc...

I usually (using TT) do something like:

INCLUDE_PATH: [base_framework_stuff app_stuff]

All the templates go into base_framework_stuff
All modifications needed for an app (or maybe even a sub-area of an app) 
go into app_stuff.

You just need to break your templates into enough smallish components. 
In the end, it feels a lot like OO templates, where you can "override" 
the "base implementation".

-- 
#!/usr/bin/perl                               http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}



More information about the Catalyst mailing list