[Catalyst] Reusable actions, AOP vs. other styles
Sebastian Riedel
sri at oook.de
Fri Apr 7 11:25:39 CEST 2006
Just to make it clear again, normal developers won't write reusable
actions and don't subclass them,
just people who already work on generic CRUD controllers and plugins.
The normal developer will only *use* these actions in the form of:
package MyApp::Controller::Foo;
use base 'Catalyst::Controller';
sub bar : Local : Action('Add') {
sub ( $self, $c ) = @_;
$c->stash->{model} = $c->model('Foo');
}
Normal developers will *not* write reusable actions! :)
--
sebastian
More information about the Catalyst
mailing list