Re: [cgiapp] Getting more out of CGI::App with less syntax.

2005-07-12 Thread Michael Peters
Thilo Planz wrote:

 AnyTemplate can figures out the file name for you, and uses the template
 engine of your choice, or if you are distributing your app, your users
 can choose!
 
 
 That second part (about the users choosing the template engine) has not
 occurred to me yet.
 That is indeed cool.

Yeah, I use that concept in CGI::Application::Search. At first it was
just a H::T only base class since that's what the particular project
required. I was just about to create a subclass of it to use TT when
Michael Graham wrote C::A::P::AnyTemplate and it saved me a lot of
headache and now my base class even supports Petal which I've never used :)

-- 
Michael Peters
Developer
Plus Three, LP


-
Web Archive:  http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
  http://marc.theaimsgroup.com/?l=cgiappr=1w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [cgiapp] Getting more out of CGI::App with less syntax.

2005-07-11 Thread Thilo Planz

Hi Mark,



sub first : StartRunmode {
  my $self = shift;
  return $self-forward('second');
}


The current AutoRunmode plugin does not support StartRunmode, but 
since you really seem to like that feature, I guess I should try to 
implement it ...


AnyTemplate can figures out the file name for you, and uses the 
template

engine of your choice, or if you are distributing your app, your users
can choose!


That second part (about the users choosing the template engine) has not 
occurred to me yet.

That is indeed cool.


Thilo


-
Web Archive:  http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
 http://marc.theaimsgroup.com/?l=cgiappr=1w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]