jmo mlists wrote:
On Sat, Aug 18, 2012 at 10:43 PM, Ian Docherty <[email protected]> wrote:

    It's 'normal' not to create Catalyst specific models, but to create
    your model outside of Catalyst (so you can use it in things like cron
    jobs for example) in which case you just use a thin adaptor class. See
    Catalyst::Model::Adaptor

    If you do it that way you don't need to publish a cpan module at all.

    - icydee

Was that for me or Gianni?

I wasn't aware of Catalyst::Model::Adaptor, seems like a useful module. What is the general take on modules such as Catalyst::Model::WebService::Solr if it's 'normal' to use C::M::Adaptor? Isn't that pretty much the same as I was suggesting for RabbitMQ? Is it thought of as depricated?

/Jon

Modules that don't use Catalyst::Model::Adaptor are either legacy modules doing things the hard way or they have very special needs. You should use Catalyst::Model::Adaptor even if you see other examples that don't. -- Darren Duncan

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to