Business-related DATA-connected logic is best residing in the Model, yes
but there are still other considerations.
What if your logic was somehow VIew-related? For example you had to show
some complex three-like structure and you wanted to pre-process it on the
server?
A model would do of course
The Model layer would be the appropriate place for it.
Am Freitag, 11. April 2014 14:27:07 UTC+2 schrieb Vitor Vezani:
>
> Hello guys, I want to do an app that will recommend itens for users, there
> will be a complex algorithm behind it, and seeing the structure of cake I m
> a little bit conf
Hello guys, I want to do an app that will recommend itens for users, there
will be a complex algorithm behind it, and seeing the structure of cake I m
a little bit confuse
Is this possible to do it in cackphp(I mean, any complex's algorithm)? If
so, where would I put this algorithm? At the mode