Welcome Guest, Not a member yet? Register   Sign In
variables in functions in views
#3

[eluser]cmroanirgo[/eluser]
Well, there's obviously a few thoughts on the whole construct of an MVC system. However, if the function is purely provided to coerce the model data into a viewable format, then i'm afraid to say it actually belongs with the view and nowhere else.
In essence, IMHO, business logic and constructs live in the Model/Controller world. View logic lives with the view.

Is there really no way to use a controller supplied variable in a view function?


Messages In This Thread
variables in functions in views - by El Forum - 08-24-2009, 09:08 PM
variables in functions in views - by El Forum - 08-25-2009, 01:21 AM
variables in functions in views - by El Forum - 08-25-2009, 06:31 PM
variables in functions in views - by El Forum - 08-25-2009, 07:02 PM
variables in functions in views - by El Forum - 08-25-2009, 07:32 PM
variables in functions in views - by El Forum - 08-25-2009, 08:25 PM
variables in functions in views - by El Forum - 08-25-2009, 08:34 PM
variables in functions in views - by El Forum - 08-25-2009, 11:26 PM
variables in functions in views - by El Forum - 08-25-2009, 11:46 PM
variables in functions in views - by El Forum - 08-26-2009, 08:37 AM
variables in functions in views - by El Forum - 08-26-2009, 05:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB