http://qs321.pair.com?node_id=675778

I've been playing with Module::Starter recently and I wrote a plugin which creates a basic CGI::Application based module. It should be wending its way to CPAN as we speak.

What do you think? I would appreciate any comments, bug reports or patches. In particular I am interested in implementing as many "best practices" as possible.

After CPAN has done its' thing, the module will be found here.

--
જલધર

Replies are listed 'Best First'.
Re: RFC: Module::Starter::Plugin::CGIApp
by samtregar (Abbot) on Mar 24, 2008 at 20:45 UTC

      I think I had filed away CGI::Application::Generator for further investigation at one point and then forgot about it. It doesn't seem to be under development anymore.

      My module is based on Module::Starter which, though rough around the edges at the moment, seems promising as an extensible framework for generating all sorts of modules. If people like the concept I envision future versions including more elaborate templates which generate entire applications with plugins, multiple runmodes, CRUD—you name it.

      --
      જલધર

        As far as I know CAP::Generator never got much use, aside from Jesse's personal use. He used it on the Krang project, I'm sure.

        I don't see any particular reason to believe your module's fate will be different, but good luck anyway!

        -sam

Re: RFC: Module::Starter::Plugin::CGIApp
by Herkum (Parson) on Mar 25, 2008 at 04:46 UTC

    The problem with CGIApp is that it needs to customized to useful. I only have one base Module that uses it and everything else inherits from it.

    I would be kinda of scared if I kept installing packages that each needed to use a separate instance of CGIApp.

      I also have a custom base class. The templates provided with this module are just starters. Each of us could customize them to create modules that use our own peculiar code instead of CGI::Application. Regardless of which framework you use, there is some grunt work involved whenever a new project is started. My goal is to help automate the process.

      --
      જલધર