in reply to Re: Extending HTML::Template, how to do it?
in thread Extending HTML::Template, how to do it?
No I havent asked it on HTML::Template's mailing list. Will check out. But also your solution seems quite interesting and quite simpler than what I was thinking - probably even faster :)
But I really think that using a leading '_' on a method a really bad idea. It would be completely counter-intuitive to what any other perl programmer would think since it's tradition for '_' to make private methods.Well that's the general idea, and it depends in the way you look at it. In some way, it is private - as that it shouldnt be able to execute it as run_mode. But will think about some other notation.
I also tougth to implement few other things (sessions, some sort of DB abstraction that I wrote and few more things) in an all-in-one convinient module/framework
Currently I just want this done for myself as I have few projets comming (last semester project, and disertation project, few sites I want to do) and dont have time to write this for the public - not to mention that I dont have knowlege (testing, documentation ...etc) to put it on CAPN (and obviosly no time to learn it).
I just found CGI::Builder, seems nice, will check out that first - before I start writing myown framework ;)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Extending HTML::Template, how to do it?
by mpeters (Chaplain) on Jun 17, 2005 at 11:58 UTC | |
by techcode (Hermit) on Jun 17, 2005 at 13:47 UTC |