Re: Which template engine is best to create a perl site

2007-06-07 Thread Perrin Harkins
On 6/7/07, Tina Müller <[EMAIL PROTECTED]> wrote: but you still save CPU if you have fast templating. maybe you can save a number of machines. Unless your templating engine is showing up pretty high on your Devel::DProf output, you're probably not going to save much. Saving 5% won't mean savin

Re: Which template engine is best to create a perl site

2007-06-07 Thread Tina Müller
On Thu, 7 Jun 2007, Perrin Harkins wrote: On 6/6/07, Tina M=FCller <[EMAIL PROTECTED]> wrote: > well, many people say, why optimize code if the database is slow anyway. No offense, but those people are entirely correct. Choosing a template module because of its speed when your application is

Re: Which template engine is best to create a perl site

2007-06-06 Thread Perrin Harkins
On 6/6/07, Tina Müller <[EMAIL PROTECTED]> wrote: well, many people say, why optimize code if the database is slow anyway. No offense, but those people are entirely correct. Choosing a template module because of its speed when your application is constrained by your database doesn't make sense

Re: Which template engine is best to create a perl site

2007-06-06 Thread Foo JH
Sorry, but I suspect there's a mistake in your test. Possibly you counted the time for JIT to do the initial compile, which is slow but only happens once. HTML::Template::Compiled is fast, but it's not as fast as JIT. I don't recommend actually using JIT though, since it's harder to debug tem

Re: Which template engine is best to create a perl site

2007-06-06 Thread Jonathan Vanasco
On Jun 6, 2007, at 10:34 AM, Tina Müller wrote: well, many people say, why optimize code if the database is slow anyway. i don't like that. if you can optimize by using a fast module - why not? and by the way, JIT doesn't have many features, while HT::Compiled has the dot syntax. Well wit

Re: Which template engine is best to create a perl site

2007-06-06 Thread Dondi M. Stroma
quot;abhishek jain" <[EMAIL PROTECTED]>; Sent: Wednesday, June 06, 2007 8:40 AM Subject: Re: Which template engine is best to create a perl site From: "Perrin Harkins" <[EMAIL PROTECTED]> Sorry, but I suspect there's a mistake in your test. Possibly you counte

Re: Which template engine is best to create a perl site

2007-06-06 Thread Tina Müller
hi, On Wed, 6 Jun 2007, Octavian Rasnita wrote: I don't use HTML::Template::Compiled though, because I found some bugs in it. well it was beta at that time, and it's actually still marked as beta on cpan. you started to use the module really early. now the biggest bugs have been fixed, and i

Re: Which template engine is best to create a perl site

2007-06-06 Thread Tina Müller
hi, On Wed, 6 Jun 2007, Perrin Harkins wrote: On 6/6/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > I have tested HTML::Template::JIT, but HTML::Template::Compiled was much > faster than it. Sorry, but I suspect there's a mistake in your test. Possibly you counted the time for JIT to do th

Re: Which template engine is best to create a perl site

2007-06-06 Thread Octavian Rasnita
From: "Perrin Harkins" <[EMAIL PROTECTED]> Sorry, but I suspect there's a mistake in your test. Possibly you counted the time for JIT to do the initial compile, which is slow but only happens once. HTML::Template::Compiled is fast, but it's not as fast as JIT. I don't recommend actually using

Re: Which template engine is best to create a perl site

2007-06-06 Thread Perrin Harkins
On 6/6/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote: I have tested HTML::Template::JIT, but HTML::Template::Compiled was much faster than it. Sorry, but I suspect there's a mistake in your test. Possibly you counted the time for JIT to do the initial compile, which is slow but only happens o

Re: Which template engine is best to create a perl site

2007-06-05 Thread Octavian Rasnita
HTML::Template::JIT compiles your entire template into a C program, so it's hard to believe that anything else is going to be significantly faster than that. I have tested HTML::Template::JIT, but HTML::Template::Compiled was much faster than it. I don't use HTML::Template::Compiled though, bec

Re: Which template engine is best to create a perl site

2007-06-05 Thread Jonathan Vanasco
On Jun 5, 2007, at 2:54 PM, Perrin Harkins wrote: I think that's a pretty questionable claim. TT is faster than CGI::Ex::Template in normal use with mod_perl. CET is only faster if you use mod_cgi where TT can't do caching. HTML::Template::JIT compiles your entire template into a C program,

Re: Which template engine is best to create a perl site

2007-06-05 Thread Perrin Harkins
On 6/5/07, Clinton Gormley <[EMAIL PROTECTED]> wrote: >From the docs: "CGI::Ex::Template is fast but CGI::Ex::Template::XS is even faster. If CGI::Ex::Template isn't fast enough for you, the XS version has key methods coded in C and provides a noticable improvement over the non-XS version. CET by

Re: Which template engine is best to create a perl site

2007-06-05 Thread Clinton Gormley
On Tue, 2007-06-05 at 11:36 -0700, Michael Greenish wrote: > But I'm locked in to using HTML::Template because I know it, have > wrapper functions created and I don't have time to figure all that > stuff out again, plus redo old templates or re-write model classes to > spit data out in a different

Re: Which template engine is best to create a perl site

2007-06-05 Thread Michael Greenish
l project. cheers, greanie - Original Message From: abhishek jain <[EMAIL PROTECTED]> To: modperl@perl.apache.org Sent: Tuesday, June 5, 2007 1:13:41 PM Subject: Which template engine is best to create a perl site Hi friends, I wish to create a scalable site made in PERL and se

Re: Which template engine is best to create a perl site

2007-06-05 Thread Clinton Gormley
On Tue, 2007-06-05 at 22:43 +0530, abhishek jain wrote: > Hi friends, > I wish to create a scalable site made in PERL and seek guidance which > templating engine should i use which has less learnig curve also. > Names comming to my mind are: > 1. Embperl > 2. Template::Toolkit > 3. Html::Mason C

Which template engine is best to create a perl site

2007-06-05 Thread abhishek jain
Hi friends, I wish to create a scalable site made in PERL and seek guidance which templating engine should i use which has less learnig curve also. Names comming to my mind are: 1. Embperl 2. Template::Toolkit 3. Html::Mason Pl. guide me which will be best or give me a suggestion, if someone has