So I have my Web Application made with Yii and I am making an ios companion app. I am using json to pass data between the server and ios app.
Here’s my question: Since I will be requiring data from all my models I need to write seperate action functions for most of the features my web app provides, for when it’s the ios app that is requesting the action (and not the web app).
Is it a better idea to write these seperate functions each in their original Controller, or should I make a seperate iosAppController.php that provides all the functions I will need?
Thanks for your help