[Catalyst-commits] r9643 - trunk/Catalyst-Plugin-FormValidator
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Thu Apr 2 18:49:32 BST 2009
Author: t0m
Date: 2009-04-02 18:49:32 +0100 (Thu, 02 Apr 2009)
New Revision: 9643
Modified:
trunk/Catalyst-Plugin-FormValidator/Changes
trunk/Catalyst-Plugin-FormValidator/FormValidator.pm
Log:
Deprecate.
Modified: trunk/Catalyst-Plugin-FormValidator/Changes
===================================================================
--- trunk/Catalyst-Plugin-FormValidator/Changes 2009-04-02 16:41:44 UTC (rev 9642)
+++ trunk/Catalyst-Plugin-FormValidator/Changes 2009-04-02 17:49:32 UTC (rev 9643)
@@ -1,7 +1,8 @@
Revision history for Perl extension Catalyst::Plugin::FormValidator.
-0.03 Xxx Xxx xx xx:xx:xx xxxx
- - added quotes on prereq.
+0.04 Thu Apr 2 18:45:00 2009
+ - Add deprecation notice
+ - Added quotes on prereq.
0.02 Fri Apr 15 15:00:00 2005
- Updated documentation.
0.01 Fri Jan 28 22:00:00 2005
Modified: trunk/Catalyst-Plugin-FormValidator/FormValidator.pm
===================================================================
--- trunk/Catalyst-Plugin-FormValidator/FormValidator.pm 2009-04-02 16:41:44 UTC (rev 9642)
+++ trunk/Catalyst-Plugin-FormValidator/FormValidator.pm 2009-04-02 17:49:32 UTC (rev 9643)
@@ -4,11 +4,12 @@
use NEXT;
use Data::FormValidator;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
=head1 NAME
-Catalyst::Plugin::FormValidator - FormValidator for Catalyst
+DEPRECATED - Catalyst::Plugin::FormValidator - Unmaintained Data::FormValidator
+plugin for Catalyst.
=head1 SYNOPSIS
@@ -17,6 +18,24 @@
$c->form( optional => ['rest'] );
print $c->form->valid('rest');
+=head1 WARNING
+
+This code is not maintained, and is disrecommended for use in new applications.
+
+Instead, it is recommended to use newer, better supported modules such as:
+
+=over
+
+=item L<Catalyst::Controller::HTML::FormFu>
+
+=item L<Catalyst::Controller::FormBuilder>
+
+=back
+
+Note that not only is this plugin disrecommended (as it takes over the global
+C<< $c->form >> method, rather than being applyable in only part of your
+application), but L<Data::FormValidator> itself is not recommended for use.
+
=head1 DESCRIPTION
This plugin uses L<Data::FormValidator> to validate and set up form data
More information about the Catalyst-commits
mailing list