Quoting Jesse Erlbaum <suppressed>:
> 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:
Hi Jesse,
I'm sorry that I don't have any real comments on the module, since I haven't had
any time to look at it. One non functional suggestion though. Can you use a
different term in the name then 'Template'! When the words perl module and
Template appear together I automatically think of 'Template' meaning something
like HTML::Template or Template Toolkit. You are building a different beast
here, and I think it would be advantageous to distinguish the name from these
other types of 'Template' modules.
How about something like one of the following:
CGI::Application::CodeTemplate
CGI::Application::CodeGenerator
CGI::Application::Generator
CGI::Application::CodeStubs
CGI::Application::Stubs
I think it would help new users browsing CPAN that have never used
CGI::Application before, and it would more clearly describe what the module does
right in the name.
Cees
>
> 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
>
>
----- End forwarded message -----
---------------------------------------------------------------------
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.