Welcome Guest, Not a member yet? Register   Sign In
Model calls from view?
#4

[eluser]Alex.[/eluser]
I've been thinking about this recently, and I've come to the conclusion that

a) it's more code in the view, and I'd like to keep my views clutter free
b) As mahuti said, it makes the view do work, which isn't a good idea

One way of getting around the problem is to generate the data in the controller, then cache it using a library such as KHCache.


Messages In This Thread
Model calls from view? - by El Forum - 07-16-2008, 03:43 PM
Model calls from view? - by El Forum - 07-16-2008, 04:44 PM
Model calls from view? - by El Forum - 07-16-2008, 07:29 PM
Model calls from view? - by El Forum - 07-17-2008, 05:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB