CGI::Application::Generator

CGI::Application::Generator is a Perl module with dynamically build CGI::Application modules.
Download

CGI::Application::Generator Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jesse Erlbaum
  • Publisher web site:
  • http://search.cpan.org/~jerlbaum/CGI-Application-Generator-1.0/Generator.pm

CGI::Application::Generator Tags


CGI::Application::Generator Description

CGI::Application::Generator is a Perl module with dynamically build CGI::Application modules. CGI::Application::Generator is a Perl module with dynamically build CGI::Application modules.SYNOPSIS use CGI::Application::Generator; # Required methods my $cat = CGI::Application::Generator->new(); $cat->package_name('My::Widget::Browser'); $cat->start_mode('list_widgets'); $cat->run_modes(qw/ list_widgets add_widget insert_widget edit_widget update_widget delete_widget /); # Optional methods $cat->base_module('My::CGI::Application'); $cat->use_modules(qw/My::DBICreds My::Utilities/); $cat->new_dbh_method('My::DBICreds->new_dbh()'); $cat->tmpl_path('Path/To/My/Templates/'); # Output-related methods $cat->app_module_tmpl('my_standard_cgiapp.tmpl'); $cat->output_app_module();CGI::Application::Generator provides a means by which a CGI::Application module can be created from code, as opposed to being written by hand. The goal of this module is two-fold: 1. To ease the creation of new CGI::Application modules. 2. To allow standardization of CGI::Application coding styles to be more uniformly applied.It is also the hope of this module that Computer Assisted Software Engineering (CASE) tools will eventually emerge which will allow the development process for web-based applications to be greatly improved. These CASE tools could more easily convert visual notation (such as UML state-transition diagrams) into method calls to this module, thereby creating actual code. Requirements: · Perl


CGI::Application::Generator Related Software