[eluser]Unknown[/eluser]
Hi!
I'm just starting with CI and php developing in general, so far I've read the user guide and some tutorials, and I think I have a grasp of how it all works together, however...
... Im building my first application with CI, and I am not sure how I should do the following:
My app is an "activity screen", that is, its just a simple screen that will show the activities for the day, along with some promotional flash videos, a weather widget, a clock widget, etc. From what I've understood, you define the different functions for your app in the controller file, and each function has to be called separately, for ex, the update function, insert function, and of course the main index() function. My question is, let's say I have a function for uploading/updating videos, another function for updating the activities of the day, since they are 2 different functions , one for managing the videos, and the other for managing the activities, how would I make just 1 general view file, which would display both the activities, videos, etc? Would I need to chain the output of the different functions, and then send that to the main index() function, which in turn would send all the data to the view file?
I dont know if I explained myself correctly... Please tell me so if I didnt.
Any ideas/suggestions? :question:
Thanks a lot!
Camilo