[Catalyst] RFC: Reusable actions

Bill Moseley moseley at hank.org
Thu Apr 6 15:51:53 CEST 2006


On Thu, Apr 06, 2006 at 12:27:07PM +0200, Sebastian Riedel wrote:
> We'll start by introducing reusable actions.
> 
> The Action(class) attribute will attach before() and after() methods  
> to the action sub, in a very aop-ish way.
> begin and after are just placeholders, there may be more specific  
> methods for param validation and the like.

Can someone explain a bit more about what this might be used for?
Parameter validation seems very specific to the controller -- I don't
have the exact same form posting to to different controllers.  I must
be missing the point.

-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list