From: Vlad <mar...@gm...> - 2004-08-01 21:34:49
|
Hello, I'm considering using of Apache::PageKit for my project, but for different reasons I'd prefer using of the Template::Tollkit as template engine instead of HTML::Template. I saw that it's in TODO list, but wonder is there any alpha version / cvs patches of PageKit available with TT support that I can play with? thanks. -- Vlad |
From: Boris Z. <bz...@2b...> - 2004-08-02 07:58:13
|
Hi Vlad, Am Sonntag 01 August 2004 23:34 schrieb Vlad: > Hello, > > I'm considering using of Apache::PageKit for my project, but for > different reasons I'd prefer using of the Template::Tollkit as > template engine instead of HTML::Template. > > I saw that it's in TODO list, but wonder is there any alpha version / > cvs patches of PageKit available with TT support that I can play with? > I have a patch with TT support somewhere, it is about a year old. I can not remember what it does and what not, but basicly it works. I clean it, merge it with a recent PageKit and put it in a public place. > thanks. -- Boris |
From: Veeresh K. <vee...@my...> - 2004-08-02 08:03:36
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Boris Zentner wrote: <blockquote cite="mid...@2b..." type="cite"> <pre wrap="">Hi Vlad, Am Sonntag 01 August 2004 23:34 schrieb Vlad: </pre> <blockquote type="cite"> <pre wrap="">Hello, I'm considering using of Apache::PageKit for my project, but for different reasons I'd prefer using of the Template::Tollkit as template engine instead of HTML::Template. I saw that it's in TODO list, but wonder is there any alpha version / cvs patches of PageKit available with TT support that I can play with? </pre> </blockquote> <pre wrap=""><!----> I have a patch with TT support somewhere, it is about a year old. I can not remember what it does and what not, but basicly it works. I clean it, merge it with a recent PageKit and put it in a public place. </pre> </blockquote> Cool! If this happens things will be really cool!<br> <br> -Veeresh<br> <br> </body> </html> |
From: Vlad <mar...@gm...> - 2004-08-02 10:59:36
|
thnx a lot! V. On Mon, 2 Aug 2004 09:56:28 +0200, Boris Zentner <bz...@2b...> wrote: > > Hi Vlad, > > Am Sonntag 01 August 2004 23:34 schrieb Vlad: > > > > Hello, > > > > I'm considering using of Apache::PageKit for my project, but for > > different reasons I'd prefer using of the Template::Tollkit as > > template engine instead of HTML::Template. > > > > I saw that it's in TODO list, but wonder is there any alpha version / > > cvs patches of PageKit available with TT support that I can play with? > > > > I have a patch with TT support somewhere, it is about a year old. I can not > remember what it does and what not, but basicly it works. I clean it, merge > it with a recent PageKit and put it in a public place. > > > thanks. > > -- > Boris > -- Vlad |
From: Bill K. <bi...@ka...> - 2004-08-02 21:05:33
|
Boris Zentner wrote: >I have a patch with TT support somewhere, it is about a year old. I can not >remember what it does and what not, but basicly it works. I clean it, merge >it with a recent PageKit and put it in a public place. > > This would be a great option for PageKit. I like the syntax of Template::Toolkit better than HTML::Template, and I would also be very likely to convert my code if Template:::Toolkit were significantly faster. Regards, Bill |
From: Boris Z. <bz...@2b...> - 2004-08-02 22:47:42
|
Hi Bill, Am Montag 02 August 2004 23:07 schrieb Bill Karwin: > Boris Zentner wrote: > >I have a patch with TT support somewhere, it is about a year old. I can > > not remember what it does and what not, but basicly it works. I clean it, > > merge it with a recent PageKit and put it in a public place. > > This would be a great option for PageKit. > > I like the syntax of Template::Toolkit better than HTML::Template, and I > would also be very likely to convert my code if Template:::Toolkit were > significantly faster. That was the reason for me long ago to start with the patch. But after it works for one special page with lots of model_var data. Just from my memory TT was significant faster for pages with more as 2500 inserts. For smaler pages HT was faster or equal. My numbers here are not exact and old, but do not expect to much from tt. -- Boris |
From: Vlad <mar...@gm...> - 2004-08-03 01:22:03
|
> I like the syntax of Template::Toolkit better than HTML::Template, and I > would also be very likely to convert my code if Template:::Toolkit were > significantly faster. those are exactly the reasons I'd prefer TT better than HTML::Template - syntax is muuuch better + it's faster (AFAIK mainly due to the portion of the code written in C as XS module) I'm concerned though - okay, Boris will come up with the patch for current version of PageKit, but will that mean that TT will be supported from now on in future releases of PageKit, or everytime we'll have to adjust that patch to make it working ... would be nice if it's sort of configuration option that you pass while configuring (before installing) PageKit. -- Vlad |
From: Boris Z. <bz...@2b...> - 2004-08-04 21:34:26
|
Hi, Am Dienstag 03 August 2004 03:22 schrieb Vlad: > > I like the syntax of Template::Toolkit better than HTML::Template, and I > > would also be very likely to convert my code if Template:::Toolkit were > > significantly faster. > > those are exactly the reasons I'd prefer TT better than HTML::Template > - syntax is muuuch better + it's faster (AFAIK mainly due to the > portion of the code written in C as XS module) > > I'm concerned though - okay, Boris will come up with the patch for > current version of PageKit, but will that mean that TT will be > supported from now on in future releases of PageKit, or everytime > we'll have to adjust that patch to make it working ... > If it works relaible and some users use it, the tt patch is surely included. I suggest to maintenance it as a seperate distribution for some weeks and then include or throw it away based on user feedback. ( me wandering off to install tt ) > would be nice if it's sort of configuration option that you pass while > configuring (before installing) PageKit. It is a confguration option anyway, at runtime. So you can switch to tt by typing one or two options in the Config.xml file. I remember that I tried first to make it an option on a page basis, but this did not work. I do not remember the reason. -- Boris |
From: Veeresh K. <vee...@my...> - 2004-08-05 05:05:32
|
Boris Zentner wrote: >Hi, > >Am Dienstag 03 August 2004 03:22 schrieb Vlad: > > >>>I like the syntax of Template::Toolkit better than HTML::Template, and I >>>would also be very likely to convert my code if Template:::Toolkit were >>>significantly faster. >>> >>> >>those are exactly the reasons I'd prefer TT better than HTML::Template >>- syntax is muuuch better + it's faster (AFAIK mainly due to the >>portion of the code written in C as XS module) >> >>I'm concerned though - okay, Boris will come up with the patch for >>current version of PageKit, but will that mean that TT will be >>supported from now on in future releases of PageKit, or everytime >>we'll have to adjust that patch to make it working ... >> >> >> > >If it works relaible and some users use it, the tt patch is surely included. I >suggest to maintenance it as a seperate distribution for some weeks and then >include or throw it away based on user feedback. > >( me wandering off to install tt ) > > > >>would be nice if it's sort of configuration option that you pass while >>configuring (before installing) PageKit. >> >> > >It is a confguration option anyway, at runtime. So you can switch to tt by >typing one or two options in the Config.xml file. I remember that I tried >first to make it an option on a page basis, but this did not work. I do not >remember the reason. > > This tastes yummy! Please send across patch/configuration patch that we can try out. Thanks -Veeresh |
From: Boris Z. <bz...@2b...> - 2004-08-05 19:57:29
|
Hi, Am Donnerstag 05 August 2004 07:03 schrieb Veeresh Khanorkar: > Boris Zentner wrote: > >Hi, > > [...] > > > >It is a confguration option anyway, at runtime. So you can switch to tt by > >typing one or two options in the Config.xml file. I remember that I tried > >first to make it an option on a page basis, but this did not work. I do > > not remember the reason. > > This tastes yummy! Please send across patch/configuration patch that we > can try out. > I have merged my old patch with a current version of pagekit, but some errors remain. I'm pretty busy until wednesday so expect a working version on thursday/friday. waiting 60 seconds for server to start: ..... waiting 60 seconds for server to start: ok (waited 3 secs) server localhost:8529 started t/01_dummy...........ok t/02_language........ok t/03_charset.........ok t/04_anon_cookies....ok t/05_account.........ok 2/6# Failed test 3 in t/05_account.t at line 46 t/05_account.........FAILED test 3 Failed 1/6 tests, 83.33% okay t/06_login...........NOK 2# Failed test 2 in t/06_login.t at line 22 t/06_login...........NOK 4# Failed test 4 in t/06_login.t at line 32 t/06_login...........NOK 6# Failed test 6 in t/06_login.t at line 42 t/06_login...........FAILED tests 2, 4, 6 Failed 3/9 tests, 66.67% okay t/07_restricted......NOK 2# Failed test 2 in t/07_restricted.t at line 15 t/07_restricted......NOK 4# Failed test 4 in t/07_restricted.t at line 26 t/07_restricted......FAILED tests 2, 4 Failed 2/6 tests, 66.67% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/05_account.t 6 1 16.67% 3 t/06_login.t 9 3 33.33% 2 4 6 t/07_restricted.t 6 2 33.33% 2 4 Failed 3/7 test scripts, 57.14% okay. 6/55 subtests failed, 89.09% okay. [warning] server localhost:8529 shutdown > Thanks > -Veeresh -- Boris |