Brandon Black wrote:
The View should handle everything specific to HTML rendering, and the
Controller should really be a very thin translation layer that maps
HTTP inputs into View updates and Model calls.  In a design laid out
like that, your question would become "How do I write a utility script
that will invoke some of my Model code", and the answer would be "use
your non-Catalyst underlying Model class directly from the script and
call whatever you need to call".

That's actually what I ended up doing, just loading the Schema classes directly and adding the bit of extra handling that I wanted from the Controller. (The Controller in this case is probably not as thin as it should be. :)

thanks,
Ronald

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

Reply via email to