[Catalyst] Doing work inside the DBIx::Class model

Zbigniew Lukasiak zzbbyy at gmail.com
Thu Feb 21 07:55:09 GMT 2008


On Thu, Feb 21, 2008 at 4:59 AM, Cian Barclay <cianbarclay at gmail.com> wrote:
>
>
> >On Wed, Feb 20, 2008 at 4:33 PM, Zbigniew Lukasiak <zzbbyy at gmail.com>
> wrote:
> >
> >
> > He meant result_source:
> >
> http://cpan.uwinnipeg.ca/htdocs/DBIx-Class/DBIx/Class/ResultSet.html#result_source
>  >
> >
>
> Thanks Zbigniew and Toby, that's just what I needed to know. Is there
> a good way to call a class method and get a resultset to use?
> I'm using Widget::class_method($schema) to give it the schema
>  from $self->result_source->schema. Is there a better way to do it?

Just guessing by the name - if you are using HTML::Widget - then check
HTML::FormFu - it has HTML::FormFu::Model::DBIC and it integrates with
Catalyst with Catalyst::Controller::HTML::FormFu.

Zbigniew
>
> thanks
> Cian
>
>
>
> _______________________________________________
>  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/
>
>



-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/



More information about the Catalyst mailing list