Re: [htmltmpl] ModPerl and HTML::Template?

2005-05-04 Thread David Hodgkinson
On 4 May 2005, at 21:25, joseph canton wrote: Has anyone used HTML::Template with modperl or Apache::ASP? Apache::Template - loads the sucker right in and you can use it PHP-style. And yes, I'm very, very sorry. --- This SF.Net email is sponsore

Re: [htmltmpl] 2 New(?) Ideas

2004-12-03 Thread David Hodgkinson
except display is strong. Build the data structure and let H::T do the rest. The project I'm working on right now has HTML::Template, Text::Template *and* TT, each used for specific purposes. Jason David Hodgkinson wrote: On 3 Dec 2004, at 20:52, Jason Purdy wrote: While I'm thinking

Re: [htmltmpl] 2 New(?) Ideas

2004-12-03 Thread David Hodgkinson
On 3 Dec 2004, at 20:52, Jason Purdy wrote: While I'm thinking about this, what do you guys think about these? Use the Template Toolkit. HTML::Template does what it does very well. Don't overload it. -- Dave Hodgkinson CTO, Rockit Factory Ltd. http://www.rockitfactory.com/ Web sites for rock bands

Re: [htmltmpl] Whitespace (linefeed) suppression?

2004-05-11 Thread David Hodgkinson
On 11 May 2004, at 21:19, Keith Jackson wrote: During previous discussions on this the suggestion was used to use tidy in some way. running the template output through HTML::Tidy in some way is a no-brainer... Obviously in HTML the whitespace is fairly harmless, but for an email template or usi

Re: [htmltmpl] Whitespace (linefeed) suppression?

2004-05-11 Thread David Hodgkinson
On 11 May 2004, at 20:47, Mark Fuller wrote: If I have something like this for readability in the template: == Error: (Forgot your password? Reset and email it to yourself.) The resulting HTML has a lot of newlin

Re: [htmltmpl] speeding up an h-t website on a windoze box

2004-04-17 Thread David Hodgkinson
On 17 Apr 2004, at 21:56, Sam Tregar wrote: On Sat, 17 Apr 2004, David Hodgkinson wrote: The compilation of the code is what's killing you. Don't be so sure. All it takes is one missed index in a critical table and all the Perl caching in the world won't save you! Heh, OK, I wa

Re: [htmltmpl] speeding up an h-t website on a windoze box

2004-04-17 Thread David Hodgkinson
On 17 Apr 2004, at 21:04, Puneet Kishor wrote: Oh, I don't think H-T is necessarily the one taking time (wasn't my intent to seem to blame H-T). I think it is just the way it is with all the other modules, and the script being cgi and all. I figured that with all the modules I am loading, and my