[Catalyst] Catalyst and Moose with "has" many_to_many

will trillich will.trillich at serensoft.com
Fri Nov 26 21:19:10 GMT 2010


Roger that, will comply. Thanks!



On Fri, Nov 26, 2010 at 1:03 PM, Tomas Doran <bobtfish at bobtfish.net> wrote:

>
> 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 pu=
ll
>> 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 _WI=
LL
> GET IT LOADED AS A CONTROLLER BY CATALYST_
>
>
> Cheers
> t0m
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



-- =

Failure is not important. How you overcome it, is.
-- Nick Vujicic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20101126/6fa7a=
87c/attachment.htm


More information about the Catalyst mailing list