[Catalyst] Command-line utility using Controller - examples?
Bogdan Lucaciu
bogdan at wiz.ro
Fri Jul 13 13:04:47 GMT 2007
On Friday 13 July 2007 14:42:51 Brandon Black wrote:
> However,
> wanting to invoke controller code from the commandline is a bad design
> smell usually. Domain logic should be packaged up independently in
> your Model layer (in something Catalyst-agnostic, which your Catalyst
> "Model" class encapsulates thinly).
Or, if you -really- -actually- need controller logic in an external script,
please explain what are you actually trying to achieve and we can think of a
nice solution :)
--
Bogdan Lucaciu
http://www.wiz.ro
More information about the Catalyst
mailing list