[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] load_tmpl() question.


-----Original Message-----
From: William McKee [mailto:suppressed 
Sent: Friday, April 09, 2004 7:54 PM
To: Emanuele Zeppieri
Cc: suppressed
Subject: Re: [cgiapp] load_tmpl() question.

> [...]
> My current opinion is that load_tmpl should be an abstract
> method that must be overridden in the subclassed module
> (just like setup). Plugin libraries could then be provided
> to handle the load_tmpl method or you can roll your own
> solution.

I essentially agree on this, as well as on the demand to not add bloat
to the framework.

Nevertheless, I still think that (only) on load_tmpl an exception should
be allowed, otherwise we will remain with this somewhat /crippled/
access to HTML::Template->new, which is a sort of /half-hearted/
solution.

Anyway I see that the general practice is to override load_tmpl, so I'll
do the same and I won't add anything more on this subject (unless
requested ;-)

Cheers,
Emanuele.


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.