[Templates] So what next...?
David Hodgkinson
daveh@hodgkinson.org
16 Aug 2000 11:26:34 +0100
So, I've got a concept that I can show to the designers (using -- as
tag delimiters is a Bad Thing). They're not scared of stuff that looks
like code any more because they can do programming in Javascript. So
that's good.
What I need now is something more than my current vague idea as to how
this should all hang together. The sites we have are all largely:
1. User makes a query
2. We display up a result set
3. We display a detail
Simple really.
So, I'm thinking that we load up the TT in a PerlHandler as in the
tutorial. The manky CGI code gets wrapped as a module, it populates a
result set object and picks the right template.
Currently, branding is handled with includes that are off the docroot
of different sites. We could to that with the TT configs for each
site.
Should we be looking at 2.0 or 1.07?
Are there any other deployment tips? Gotchas? Anything I'm missing?
Cheers,
Dave
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
-----------------------------------------------------------------