[Catalyst] using catalyst controllers from script

Marco Silva marco.prado.bs at gmail.com
Sun Apr 30 15:21:56 GMT 2017


Excerpts from Rajesh Kumar Mallah's message of 2017-04-29 16:11:09 -0400:
> 
> Hi ,
> 
> I have  application logic in controllers which i want to
> reuse from some non-http scripts.
Encapsulate it into your model.
> 
> Is it doable or should it be done at all ?
> 
> 
> I know models can easily be called from scripts , but
> my business logic lies in models and controllers.
As you foresee this is the right way to make things. Catalyst should be a thin
http layer to fat models.
> 
> sorry if it was a FAQ.
> 
> 
> Regds
> mallah.
> 

-- 
Marco Arthur @ (M)arco Creatives



More information about the Catalyst mailing list