Cees,
Just wondering: is the template toolkit plugin forthcoming on cpan?
Yes it will be, but again, I'm still looking to find some time to be able to spend on this stuff to finish it off. For now, you can find a pre-release verion here:
http://cees.crtconsulting.ca/perl/modules/CGI-Application-TT-0.01.tar.gz
Just untar it and run the standard: perl Makefile.PL make make test make install
or if you like Module::Build, run: perl Build.PL ./Build ./Build test ./Build install
There is also a 0.02 version up there, but it uses the proposed C::A::Plugin module, which looks like it will be scrapped, so for now use the 0.01 version if you like.
I am very eager to get some feedback on the functionality in there (ie how usable is the module). No one has really commented on it, so I asssumed no one was using it.
Also, with the new Plugin guildelines that Mark has worked out, I will be releasing a new version that conforms to that under the C::A::Plugin::TT namespace (which will require some small changes in how the module is loaded). So look for that in the near future.
Cheers,
Cees
Thanks, Sean
----- Original Message ----- From: "Mark Stosberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 08, 2004 9:33 PM Subject: [cgiapp] Re: plugins
On 2004-05-29, Cees Hek <[EMAIL PROTECTED]> wrote:
The great thing about CGI::Application is that it gives you the freedom to use whatever modules you want and buildup your own toolbox of code. But that is also a drawback to new users, since there is quite a bit of work that needs to be done if you want session support, authentication, logging, database access, etc...
By building a bunch of simple add on modules like the Session module I wrote, we can simplify life for newcomers, without restricting the power and flexibility that CGI::Application currently enjoys. And perhaps show long time users of CGI::Application other ways of handling these common (and sometimes mundane) tasks.
We are now close to this vision with the plugins now available. There's
cfg() dbh() validate_rm() session()
I currently have a Template Toolkit plugin that I have used in a couple of projects already, and also, an authentication plugin. However, for my authentication stuff to work, I need to be able to execute a bit of code at the cgiapp_prerun stage, which drove me to write this patch.
Cees, would you be willing to share your authentication plugin?
Mark
-- http://mark.stosberg.com/
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
