Hi Drew --

> I've recently used CGI::App for the first time in a freelance 
> project and 
> have really liked it. I particularly like the idea of param() 
> to squirrel 
> away data vs using the object hash directly. But, I'm mostly 
> a TT kind of 
> guy, so I miss that support in C:A. *putting on flame 
> retardent underwear* 
> Is there interest in adding TT support? I would be happy to 
> do the coding, 
> as long as it will be wanted. Otherwise I guess I'll create a 
> wrapper & 
> overload the appropriate template methods.


There are a couple TT users on the CGI::Application mailing list.  It is
very easy to use TT with CGI-App.  The CGI-App code has even been modified
to only load HTML::Template when the default load_tmpl() method is called
for the first time.

If you want to use the load_tmpl() method, I would create a custom sub-class
of CGI::Application which overrides the inherited load_tmpl() with your own
function which uses TT.  This seems to be how other TT users have solved
this problem.  Perhaps some other TT user on the list can explain their
solution in more depth.


-Jesse-



  Jesse Erlbaum, CTO
  Vanguard Media
  http://www.vm.com
  212.242.5317 x115
  [EMAIL PROTECTED]



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp%40lists.vm.com/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to