Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Michael Peters
Cees Hek wrote: Hi All, It's been fairly quiet on the development side of things with CGI::Application, so I thought I would try to stir things up again ;) Good idea. A little while ago, I noticed some talk on the Class::DBI list about a plugin architecture for Class::DBI. Someone actually

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread William McKee
Hi Cees, Thanks for starting up the discussion again. I'm glad to see that you had the time to implement this idea. I had noticed that thread on the CDBI list as well and thought it may be useful for CGI::App. Unfortunately, I don't understand the magic behind the Plugin code so I went to check

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Cees Hek
Quoting Michael Peters [EMAIL PROTECTED]: Cees Hek wrote: I really love the plugin based model that so many other modules (Template Toolkit, Class::DBI now, etc). It really simplifies development yet it doesn't the flexibility that we all enjoy. Don't like the plugin, don't use it.

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread William McKee
On Tue, Jul 27, 2004 at 11:43:51AM -0400, Michael Peters wrote: Which issues did you have to work around. If I recall correctly there were some about cleaning up database handles, etc in the teardown stage. If your session module uses file drivers by default then it won't use the database

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Michael Peters
Cees Hek wrote: As an example of how it works, I have put up new versions of the CGI::Application::Session and CGI::Application::TT modules on my website (http://cees.crtconsulting.ca/perl/modules/), as well as a tarball containing the actual CGI::Application::Plugin module. Just one more

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Michael Peters
William McKee wrote: Unfortunately, I don't understand the magic behind the Plugin code so I went to check out how you implemented it in your Session and TT modules. However, I am receiving errors when trying to untar these files: tar: Read 6264 bytes from CGI-Application-TT-0.02.tar.gz tar:

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Rhesa Rozendaal
Michael Peters wrote: William McKee wrote: Unfortunately, I don't understand the magic behind the Plugin code so I went to check out how you implemented it in your Session and TT modules. However, I am receiving errors when trying to untar these files: tar: Read 6264 bytes from

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Michael Peters
Rhesa Rozendaal wrote: Michael Peters wrote: William McKee wrote: Unfortunately, I don't understand the magic behind the Plugin code so I went to check out how you implemented it in your Session and TT modules. However, I am receiving errors when trying to untar these files: tar: Read 6264

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Michael Peters
Rhesa Rozendaal wrote: Michael Peters wrote: William McKee wrote: Unfortunately, I don't understand the magic behind the Plugin code so I went to check out how you implemented it in your Session and TT modules. However, I am receiving errors when trying to untar these files: tar: Read 6264

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread William McKee
On Tue, Jul 27, 2004 at 02:52:56PM -0400, Michael Peters wrote: Just one more comment/question here. Other modules that use a plugin style architecture usually put them into a ::Plugin namespace (ie, Template::Plugin::DBI). Should we consider doing that here if we are serious about hording up

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Cees Hek
Michael Peters wrote: Just one more comment/question here. Other modules that use a plugin style architecture usually put them into a ::Plugin namespace (ie, Template::Plugin::DBI). Should we consider doing that here if we are serious about hording up a lot of plugins? Should CGI::Application::TT

RE: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Kleindenst, Fred
-Original Message- From: Michael Peters [mailto:[EMAIL PROTECTED] Cees: As an example of how it works, I have put up new versions of the CGI::Application::Session and CGI::Application::TT modules on my website (http://cees.crtconsulting.ca/perl/modules/), as well as a tarball