My app doesnt use a database, it gets all it's information from an
api. I was wondering whether i should put the code for pulling the api
data into an array in the controller or a model?
This is a pretty simple app right now with only one controller, I may
expand it later but I have no plans to do so right now.
In the model,
All your data objects should be in the models, and the controller is
simply a bridge between the models and the views, pooling out only the
data the view needs, so you'd write methods for retrieving and
creating data in your model and then call those functions in your
controllers and parse those arrays etc into your views.