Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

RFC: Module::Starter::Plugin::CGIApp

by jaldhar (Vicar)
on Mar 23, 2008 at 14:35 UTC ( #675778=perlmeditation: print w/replies, xml ) Need Help??

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!


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.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://675778]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2020-05-27 23:00 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (162 votes). Check out past polls.