[Catalyst] Reusable actions, AOP vs. other styles
Christopher H. Laco
claco at chrislaco.com
Fri Apr 7 14:43:19 CEST 2006
Sebastian Riedel wrote:
> 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
Yes, but what about normal developers? :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060407/2e7866ef/attachment.pgp
More information about the Catalyst
mailing list