Re: [cgiapp] CA::Dispatch

2007-01-30 Thread Michael Peters
Robert Hicks wrote: I am just coming up to speed on this one. I am wondering if I am reading the pod right. Am I replacing use base 'CGI::Application' with use base 'CGI::Application::Dispatch'? No. Dispatch is not a base class for a C::A application. Dispatch sits outside of your

[cgiapp] HT vs TT speed wise

2007-01-30 Thread Robert Hicks
I have about a 5 page site. I have it going in TT since that is what I normally use. I got to thinking about whether HT was faster since it is just a templating system. Has anyone ever done a comparison? Robert - Web

Re: [cgiapp] HT vs TT speed wise

2007-01-30 Thread Sean Davis
On Tuesday 30 January 2007 10:04, Robert Hicks wrote: I have about a 5 page site. I have it going in TT since that is what I normally use. I got to thinking about whether HT was faster since it is just a templating system. Has anyone ever done a comparison? I haven't done a comparison, but I

Re: [cgiapp] Returning XML output for AJAX

2007-01-30 Thread David Kaufman
Hi Bruce, Bruce McKenzie [EMAIL PROTECTED] wrote: What I want to do is return XML (as an Ajax response) to the jQuery Interface library Autocomplete plugin [...] Of the modules on CPAN that could produce this XML structure, which would be *easiest* to use? Do I need to change the headers of

[cgiapp] [htmltmpl] ANNOUNCE: HTML::Template v2.9

2007-01-30 Thread Sam Tregar
CHANGES - New Feature: the force_untaint option makes sure you do not pass tainted values to param(). [Sven Neuhaus] - New Feature: Added ESCAPE=none as a synonym for ESCAPE=0. Fixed both to work with default_escape. [EMAIL PROTECTED] - Bug Fix: DEFAULT didn't work with

Re: [cgiapp] HT vs TT speed wise

2007-01-30 Thread Ron Savage
Hi Robert I have about a 5 page site. I have it going in TT since that is what I normally use. I got to thinking about whether HT was faster since it is just a templating system. Well, TT is very clever, and /very/ complex, so it'd usually be slower. OTOH, on each invocation of your CGI

Re: [cgiapp] HT vs TT speed wise

2007-01-30 Thread Sam Tregar
On Tue, 30 Jan 2007, Ron Savage wrote: OTOH, on each invocation of your CGI script, you're probable only calling HT or TT once to render one page, right? Perhaps best to just not worry about it :-). All too true. But, if you decide to worry about it anyway be sure to try HTML::Template::JIT!

Re: [cgiapp] HT vs TT speed wise

2007-01-30 Thread Nathan L. Walls
On Jan 30, 2007, at 6:19 PM, Sam Tregar wrote: It's a pretty rare application that actually has templating as a significant bottleneck. One of the reasons I like Conway's suggestion on p. 464 of Perl Best Practices, Don't optimize applications -- profile them. Templates are an easy target

[cgiapp] Re: HT vs TT speed wise

2007-01-30 Thread Robert Hicks
Ron Savage wrote: Hi Robert I have about a 5 page site. I have it going in TT since that is what I normally use. I got to thinking about whether HT was faster since it is just a templating system. Well, TT is very clever, and /very/ complex, so it'd usually be slower. OTOH, on each