pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc Initial import of p5-CGI-FormBuilder-2.12 into the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d4fb0de5470
branches:  trunk
changeset: 464207:0d4fb0de5470
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Dec 04 15:36:56 2003 +0000

description:
Initial import of p5-CGI-FormBuilder-2.12 into the NetBSD packages
collection.

The goal of CGI::FormBuilder (FormBuilder) is to provide an easy way
for you to generate and process CGI form-based applications. This
module is designed to be smart in that it figures a lot of stuff out
for you. As a result, FormBuilder gives you about a 4:1 ratio of the
code it generates versus what you have to write.

For example, if you have multiple values for a field, it sticks them
in a radio, checkbox, or select group, depending on some factors. It
will also automatically name fields for you in human-readable labels
depending on the field names, and lay everything out in a nicely
formatted table. It will even title the form based on the name of the
script itself (order_form.cgi becomes "Order Form").

Plus, FormBuilder provides you full-blown validation for your fields,
including some useful builtin patterns. It will even generate
JavaScript validation routines on the fly! And, of course, it
maintains state ("stickiness") across submissions, with hooks provided
for you to plugin your own sessionid module such as Apache::Session.

And though it's smart, it allows you to customize it as well. For
example, if you really want something to be a checkbox, you can make
it a checkbox. And, if you really want something to be output a
specific way, you can even specify the name of an HTML::Template or
Template Toolkit (Template) compatible template which will be
automatically filled in, statefully.

diffstat:

 doc/CHANGES |  3 ++-
 doc/TODO    |  6 +-----
 2 files changed, 3 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r 473939e44eee -r 0d4fb0de5470 doc/CHANGES
--- a/doc/CHANGES       Thu Dec 04 15:33:06 2003 +0000
+++ b/doc/CHANGES       Thu Dec 04 15:36:56 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.3969 2003/12/04 15:11:58 adam Exp $
+$NetBSD: CHANGES,v 1.3970 2003/12/04 15:36:56 grant Exp $
 
 Changes to the packages collection and infrastructure in 2003:
 
@@ -4842,3 +4842,4 @@
        Added randrext-1.0 [recht 2003-12-04]
        Added Xrandr-1.0.1 [recht 2003-12-04]
        Updated slatec to 4.1nb1 [adam 2003-12-04]
+       Added p5-CGI-FormBuilder [grant 2003-12-04]
diff -r 473939e44eee -r 0d4fb0de5470 doc/TODO
--- a/doc/TODO  Thu Dec 04 15:33:06 2003 +0000
+++ b/doc/TODO  Thu Dec 04 15:36:56 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.1124 2003/12/04 06:50:12 junyoung Exp $
+$NetBSD: TODO,v 1.1125 2003/12/04 15:36:56 grant Exp $
 
 Suggested new packages
 ======================
@@ -82,10 +82,6 @@
        Perl CGI application toolkit
        ${MASTER_SITE_PERL_CPAN:=CGI/}
 
-       p5-CGI-FormBuilder-2.12
-       Perl CGI Form builder
-       ${MASTER_SITE_PERL_CPAN:=CGI/}
-
        p5-Digest-Hashcash-0.02
        implements hashcash hashes, see www.hashcash.org
        [heinz, waiting for end of freeze]



Home | Main Index | Thread Index | Old Index