> Message: 7
> Date: Mon, 03 Nov 2003 22:43:59 -0600
> From: Stuart Johnston <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [Templates] TT and hosting providers
...
> I've never heard of any host that has TT pre-installed and being able to
> install it yourself will probably be generally the same from one host to
> the next (assuming you can get a shell). Unfortunately, installing TT
> locally, without root, is easier said than done.
FYI: modwest.com has TT2 and a large set of Perl libraries installed,
including CGI::SpeedyCGI.
> My apologies for taking this off on a bit of a tangent but it is
> something that I have been thinking about for quite some time. Here are
> some thoughts that I have on the issue of TT installation, some of which
> are not really TT's fault.
...
> - When it comes to web applications (Re: the original message), TT2
> tends to have a bit of a focus on persistent environments and is less
> optimal for stand alone CGI environments. I'm not sure if anything
> could be done to improve it without making sacrifices in other areas but
> it might open TT2 up to a wider audience if it were a little more
> optimized those types of situations. (I may be a bit off base on this
> one, sorry.)
#!/usr/bin/speedy (SpeedyCGI) instead of /usr/bin/perl can make any
well-written CGI script run persistently. You'd want to make
sure to instantiate and connect TT, DBI, and such conditionally:
$TT ||= Template->new( ... );
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Richard Tietjen <[EMAIL PROTECTED]> www.pobox.com/~rdtietjen
"Irony is what they make two-edged swords from."
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates