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

Re: [cgiapp] load_tmpl() question.


On Fri, Apr 09, 2004 at 05:04:54PM +0200, Emanuele Zeppieri wrote:
> But then your considerations should apply also to the *existing*
> load_tmpl() method, since it is a method conceived exactly as an
> "interface to different contructors/methods of other commonly used
> modules", as you said.

I don't think you'll get any argument about this issue from folks who
don't use HTML::Template for their template engine. It's legacy code
that constantly comes into discussions about how to integrate other
template engines with C::A.

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.


Cheers,
William

-- 
Knowmad Services Inc.
http://www.knowmad.com

---------------------------------------------------------------------
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.