Re: [cgiapp] returning HTML::Templates from runmodes?

2002-12-01 Thread Thilo Planz
Since most of us use HTML::Template, how about allowing runmodes to


As one of those that don't use H::T (and I'm not alone), I'd be unhappy
with tightening the bonds between them.


Well, it would just be an option.
No one is forced to use it, but it would benefit those who do use H::T.

Thilo


-
Web Archive:  http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [cgiapp] returning HTML::Templates from runmodes?

2002-12-01 Thread Brett Sanger
On Mon, Dec 02, 2002 at 09:40:34AM +0900, Thilo Planz wrote:
 Since most of us use HTML::Template, how about allowing runmodes to
 
 As one of those that don't use H::T (and I'm not alone), I'd be unhappy
 with tightening the bonds between them.
 
 Well, it would just be an option.
 No one is forced to use it, but it would benefit those who do use H::T.

It depends on the implementation.  One could easily say that we should
build in the same fucntionality for those of us that use Template
Toolkit with CGI::App.

Currently you can subclass for that functionality, however you would
want it.  

-- 
SwiftOne
[EMAIL PROTECTED]

-
Web Archive:  http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [cgiapp] returning HTML::Template from runmodes?

2002-12-01 Thread Mark Stosberg
On Thu, 28 Nov 2002, Thilo Planz wrote:

 CGI::Application supports returning scalar-refs containing the HTML
 output from runmodes, which should improve performance.

 Since most of us use HTML::Template, how about allowing runmodes to
 return a (fully filled-out) HTML::Template object,
 and having CGI::Application call output() itself?

I like this idea. It seems to offer an option for improved performance
while maintaining backwards compatibility. Seems reasonable to me.

  -mark

http://mark.stosberg.com/

-
Web Archive:  http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]