Welcome Guest, Not a member yet? Register   Sign In
What's your opinion on where models are executed: controllers or views?
#4

[eluser]danbirlem[/eluser]
[quote author="Ben Edmunds" date="1269991612"]...never make a call directly to a model from a controller.[/quote]

Why? It would seem natural to collect the data and pass through to a view from the controller. Using a model in the view seems redundant.


Messages In This Thread
What's your opinion on where models are executed: controllers or views? - by El Forum - 03-30-2010, 12:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB