[Catalyst-commits] r9316 - in trunk/Catalyst-Example-InstantCRUD: .
lib/Catalyst/Example lib/Catalyst/Example/Controller
lib/Catalyst/Helper/Controller lib/Catalyst/Helper/Model
lib/Catalyst/Helper/View
zby at dev.catalyst.perl.org
zby at dev.catalyst.perl.org
Mon Feb 16 20:27:18 GMT 2009
Author: zby
Date: 2009-02-16 20:27:18 +0000 (Mon, 16 Feb 2009)
New Revision: 9316
Modified:
trunk/Catalyst-Example-InstantCRUD/Makefile.PL
trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Example/Controller/InstantCRUD.pm
trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Example/InstantCRUD.pm
trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/Controller/InstantCRUD.pm
trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/Model/InstantCRUD.pm
trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/View/InstantCRUD.pm
Log:
preparing for a release
Modified: trunk/Catalyst-Example-InstantCRUD/Makefile.PL
===================================================================
--- trunk/Catalyst-Example-InstantCRUD/Makefile.PL 2009-02-15 11:02:56 UTC (rev 9315)
+++ trunk/Catalyst-Example-InstantCRUD/Makefile.PL 2009-02-16 20:27:18 UTC (rev 9316)
@@ -14,27 +14,26 @@
'Catalyst::View::TT' => '0.21',
'DBIx::Class' => '0.08003',
'DBIx::Class::Schema::Loader' => '0.03',
- 'DBIx::Class::DigestColumns' => 0,
- 'Template::Plugin::Class' => 0,
+ 'DBIx::Class::ResultSet::RecursiveUpdate' => 0,
+# 'DBIx::Class::DigestColumns' => 0,
+# 'Template::Plugin::Class' => 0,
'Catalyst::Model::DBIC::Schema' => 0,
'Catalyst::Helper::Model::DBIC::Schema' => 0,
'Catalyst::Plugin::ConfigLoader' => 0,
'Catalyst::Plugin::Static::Simple' => 0,
- 'Catalyst::Plugin::StackTrace' => 0,
- 'Catalyst::Plugin::HTML::Widget' => 0,
- 'Catalyst::Plugin::Authentication' => '0.07',
- 'Catalyst::Plugin::Authentication::Store::DBIC' => '0.07',
- 'Catalyst::Plugin::Authentication::Credential::Password' => 0,
+# 'Catalyst::Plugin::Authentication' => '0.07',
+# 'Catalyst::Plugin::Authentication::Store::DBIC' => '0.07',
+# 'Catalyst::Plugin::Authentication::Credential::Password' => 0,
'Catalyst::Plugin::Session::State::Cookie' => 0,
'Catalyst::Plugin::Session::Store::FastMmap' => 0,
- 'Test::More' => 0,
- 'version' => 0,
- 'URI::Escape' => 0,
- 'HTML::Entities' => 0,
+ 'Rose::HTMLx::Form::DBIC' => 0,
+ 'Rose::HTMLx::Form::DBIC::FormGenerator' => 0,
+ 'Path::Class' => 0,
+# 'version' => 0,
+# 'URI::Escape' => 0,
'File::Spec' => 0,
'File::Slurp' => 0,
'Pod::Usage' => 0,
- 'Digest::SHA1' => 0,
'List::Util' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
Modified: trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Example/Controller/InstantCRUD.pm
===================================================================
--- trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Example/Controller/InstantCRUD.pm 2009-02-15 11:02:56 UTC (rev 9315)
+++ trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Example/Controller/InstantCRUD.pm 2009-02-16 20:27:18 UTC (rev 9316)
@@ -9,7 +9,7 @@
use Path::Class;
use Rose::HTMLx::Form::DBIC;
-use version; our $VERSION = qv('0.0.12');
+use version; our $VERSION = qv('0.0.14');
sub auto : Local {
my ( $self, $c ) = @_;
@@ -150,7 +150,7 @@
=head1 VERSION
-This document describes Catalyst::Example::Controller::InstantCRUD version 0.0.1
+This document describes Catalyst::Example::Controller::InstantCRUD version 0.0.14
=head1 SYNOPSIS
Modified: trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Example/InstantCRUD.pm
===================================================================
--- trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Example/InstantCRUD.pm 2009-02-15 11:02:56 UTC (rev 9315)
+++ trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Example/InstantCRUD.pm 2009-02-16 20:27:18 UTC (rev 9316)
@@ -1,6 +1,6 @@
package Catalyst::Example::InstantCRUD;
-use version; $VERSION = qv('0.0.20');
+use version; $VERSION = qv('0.0.21');
use warnings;
use strict;
@@ -19,7 +19,7 @@
=head1 VERSION
-This document describes Catalyst::Example::InstantCRUD version 0.0.18
+This document describes Catalyst::Example::InstantCRUD version 0.0.22
=head1 SYNOPSIS
@@ -36,7 +36,6 @@
tables defined in the accessed database.
The Create and Update forms let you manipulate also on relations
(even many to many).
-It includes some basic authentication code.
I am waiting for suggestions what else basic functionality would be nice
to have in the generated application.
@@ -65,17 +64,11 @@
The templates are generated in directories named after the controllers in the
root directory.
-To customize the forms used for creation and modification of records you can
-modify the interface_config.dat file generated in the application main
-directory. For now it's content is a dump of a perl structure. I hope it is
-enough self explanatory for some simple
-modifications. The most basic one should be deleting some field,
-by deleting it's hash from the list, and changing the order of fields.
-
The generated controller is a subclass of
Catalyst::Example::Controller::InstantCRUD.
You can use the standard OO technique of overriding the documented methods
to customize and extend it.
+The form handling code is in the controller.
=head1 DEPENDENCIES
@@ -84,32 +77,37 @@
including any restrictions on versions, and an indication whether
the module is part of the standard Perl distribution, part of the
module's distribution, or must be installed separately. ]
- 'Test::More' => 0,
- 'version' => 0,
- 'Catalyst' => 0,
- 'URI::Escape' => 0,
- 'HTML::Entities' => 0,
- 'File::Spec' => 0,
- 'Catalyst' => 5.66,
- 'Catalyst::View::TT' => 0.21,
- 'Template::Plugin::Class' => 0,
- 'Catalyst::Plugin::DefaultEnd' => 0,
- 'Catalyst::Model::DBIC' => 0,
- 'Catalyst::Helper::Model::DBIC::Schema' => 0,
- 'DBIx::Class' => 0,
- 'DBIx::Class::Schema' => 0,
- 'DBIx::Class::Loader' => 0,
- 'File::Slurp' => 0,
+ 'Catalyst::Runtime' => '5.7000',
+ 'Catalyst::Devel' => '1.00',
+ 'Catalyst::View::TT' => '0.21',
+ 'DBIx::Class' => '0.08003',
+ 'DBIx::Class::Schema::Loader' => '0.03',
+ 'DBIx::Class::ResultSet::RecursiveUpdate' => 0,
+ 'Catalyst::Model::DBIC::Schema' => 0,
+ 'Catalyst::Helper::Model::DBIC::Schema' => 0,
+ 'Catalyst::Plugin::ConfigLoader' => 0,
+ 'Catalyst::Plugin::Static::Simple' => 0,
+ 'Catalyst::Plugin::Session::State::Cookie' => 0,
+ 'Catalyst::Plugin::Session::Store::FastMmap' => 0,
+ 'Rose::HTMLx::Form::DBIC' => 0,
+ 'Rose::HTMLx::Form::DBIC::FormGenerator' => 0,
+ 'Path::Class' => 0,
+ 'File::Spec' => 0,
+ 'File::Slurp' => 0,
+ 'Pod::Usage' => 0,
+ 'List::Util' => 0,
+
=head1 BUGS AND LIMITATIONS
+This is still experimental and it is a first new release
+after a long time and substantial refactoring so treat with caution.
+
The main generator script (instantcrud.pl) is an ugly hack. First
the Catalyst helpers assume where the executable is located so I had
to fool them, second there is no API for creation of the main
application module (My::App).
-The generated application shall not work for tables with composite primary keys (other than the link tables for a many to many relatioship).
-
Please report any bugs or feature requests to
C<bug-catalyst-example-instantcrud at rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org>.
Modified: trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/Controller/InstantCRUD.pm
===================================================================
--- trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/Controller/InstantCRUD.pm 2009-02-15 11:02:56 UTC (rev 9315)
+++ trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/Controller/InstantCRUD.pm 2009-02-16 20:27:18 UTC (rev 9316)
@@ -1,6 +1,6 @@
package Catalyst::Helper::Controller::InstantCRUD;
-use version; $VERSION = qv('0.0.7');
+use version; $VERSION = qv('0.0.8');
use warnings;
use strict;
Modified: trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/Model/InstantCRUD.pm
===================================================================
--- trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/Model/InstantCRUD.pm 2009-02-15 11:02:56 UTC (rev 9315)
+++ trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/Model/InstantCRUD.pm 2009-02-16 20:27:18 UTC (rev 9316)
@@ -1,6 +1,6 @@
package Catalyst::Helper::Model::InstantCRUD;
-use version; $VERSION = qv('0.0.1');
+use version; $VERSION = qv('0.0.2');
use warnings;
use strict;
Modified: trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/View/InstantCRUD.pm
===================================================================
--- trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/View/InstantCRUD.pm 2009-02-15 11:02:56 UTC (rev 9315)
+++ trunk/Catalyst-Example-InstantCRUD/lib/Catalyst/Helper/View/InstantCRUD.pm 2009-02-16 20:27:18 UTC (rev 9316)
@@ -1,6 +1,6 @@
package Catalyst::Helper::View::InstantCRUD;
-use version; $VERSION = qv('0.0.4');
+use version; $VERSION = qv('0.0.5');
use warnings;
use strict;
More information about the Catalyst-commits
mailing list