[Catalyst] Plugin methods and context namespace
Matt S Trout
dbix-class at trout.me.uk
Fri Nov 25 05:16:41 CET 2005
On Thu, Nov 24, 2005 at 08:00:14PM -0800, John Wang wrote:
> I think a plugin that handles email-based account activation and password
> resets could be generally useful but I'm not sure how to do one cleanly (i.e.
> $c->myplugin->foo method formats and using the templating engine without
> needing an empty Controller routine in the dispatcher).
I don't see how providing a standard controller for you to subclass which
makes its functionality available via ->forward to :Private actions is
any less useful and re-usable than this - and doesn't clutter your $c
namespace at all.
--
Matt S Trout Specialists in Perl consulting, web development, and
Technical Director UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Catalyst
mailing list