[Catalyst] Catalyst and Moose with "has" many_to_many
Tomas Doran
bobtfish at bobtfish.net
Fri Nov 26 19:03:55 GMT 2010
On 25 Nov 2010, at 21:57, will trillich wrote:
> Right. :) These are 'inlined' within the controller that's the only
> place where they're used. E.g.
>
> package Spill::Controller::Spill;
> use Moose;
> #...
> {
> package Spill::Controller::Incident::IncidentForm;
> use HTML::FormHandler::Moose;
> extends 'HTML::FormHandler::Model::DBIC';
> #...
> }
>
> Took that idea from the code generated by InstantCRUD, seems kinda
> nice! If these forms were useful in more than one place then we'd
> certainly pull them into their own files in their own tree-branches.
I don't care where the code physically lives - just how it's
namespaced..
Please please fix the namespace, as calling it MyApp::Controller::XXX
_WILL GET IT LOADED AS A CONTROLLER BY CATALYST_
Cheers
t0m
More information about the Catalyst
mailing list