[Catalyst] RFC: Reusable actions

Yuval Kogman nothingmuch at woobling.org
Thu Apr 6 14:00:20 CEST 2006


On Thu, Apr 06, 2006 at 13:27:07 +0200, Sebastian Riedel wrote:

>      sub add : Local : Action('Add') {

The Action attr name is ambiguous. I prefer these:

	Wrapped('Add')
	Extend('Add')
	Proto('Add')

as they're somehwat clearer IMHO.

However, i don't see how this is much different than using
controller base classes like DefaultEnd, especially if something
like Moose is used to provide 'before' and 'after' at the "class"
level?

-- 
  Yuval Kogman <nothingmuch at woobling.org>
http://nothingmuch.woobling.org  0xEBD27418

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060406/c958ee91/attachment.pgp 


More information about the Catalyst mailing list