Welcome Guest, Not a member yet? Register   Sign In
Retrieving a Feed...Model or Controller?
#1

[eluser]Krumpet[/eluser]
I'm retrieving an XML feed and caching it locally. Is it considered proper to do this in a controller file or should I place this code in a model file? I'm sure either will work...I'm wondering what is considered good MVC practice. I'm not interacting with any databases so I'm not sure if I should be using the model files at all.

Edit: Or is there another option I should be focusing on...helper files maybe?
#2

[eluser]wiredesignz[/eluser]
If the feed is data and it's not making any request to your application? A model would seem most appropriate.
#3

[eluser]Krumpet[/eluser]
Here is the feed...

http://rss.bigfishgames.com/rss.php?user...ametype=pc




Theme © iAndrew 2016 - Forum software by © MyBB