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

RE: [cgiapp] load_tmpl() question.


-----Original Message-----
From: petersm [mailto:suppressed 
Sent: Friday, April 09, 2004 4:32 PM
To: Emanuele Zeppieri; suppressed
Subject: Re: [cgiapp] load_tmpl() question.

> I disagree. I think that by adding new methods to C::A
> you just clutter it up.
> [...]

OK, I agree with this on a general basis (and I can also narrow to the
load_tmpl() specific situation my previous statement about hiding
external modules use in C::A apps, which could sound too general
really).

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.

If we will implement load_tmpl_scalar_ref() somewhat out of C::A, as you
seem to suggest, we will end up in a situation where we can use the
internal load_tmpl() method when we want to load a template from a file,
while we have to resort to some external something when we want to load
a template from a text ref.

At least in this particular case, it's a little bit confusing, I
think...

> Instead of this, I think we should resume the discussion we had
> a few months back about including some sort of plugin/registry/cleanup
> functionality to C::A.

I perfectly agree, on a general basis.

--Emanuele Zeppieri.


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