On 19/02/2009, at 11:58 PM, Dermot wrote:

2009/2/19 Kieren Diment <[email protected]>:

On 19/02/2009, at 9:52 PM, Dermot wrote:

2009/2/19 Kieren Diment <[email protected]>:
yapp/MyStandaloneModel.pm) that you can use the bulk of the code in the


arg MyApp/lib/MyStandaloneModel.pm

controller and the script.  Use Catalyst::Model::Adaptor and ACCEPT
context
to get the logic of this standalone model out of the controller and into
the
catalyst model.

Great thanx. I'll get straight to work on it. I might have a question
or two later about the config.

Check the 2008 advent calendar for ACCEPT_CONTEXT usage:
http://dev.catalystframework.org/wiki/adventcalendararticles


Wow! that works but I am not sure where ACCEPT_CONTEXT comes into it.


That'd be if you needed to pass stuff from $c into the model to get it working properly.
_______________________________________________
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