Hi All --
I have a little module I've been working on, and I'd love to get some
feedback. You can download it here:
http://www.erlbaum.net/CGI-Application-Template-0.01.tar.gz
I made this to simplify the start-up process of making a new
CGI::Application-based module. If you can, try it out and give me some
feedback. In particular, I'm interested in a couple things:
1. Does it work? (Any bugs?)
2. Is it useful? Could you use this in your work?
3. Can the interface be improved?
Here's an excerpt from the POD:
----START----->
NAME
CGI::Application::Template - Dynamically build
CGI::Application modules
SYNOPSIS
use CGI::Application::Template;
# Required methods
my $cat = CGI::Application::Template->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();
DESCRIPTION
CGI::Application::Template 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.
<----END----
Thanks!
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
suppressed
Phone: 212-684-6161
Fax: 212-684-6226
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.