Welcome Guest, Not a member yet? Register   Sign In
Views and passed variable scopes
#4

(04-15-2016, 07:50 AM)Narf Wrote: IMO, that data shouldn't be cached at all, and therefore you shouldn't have the option to keep it - just render the view and immediately discard any variables.

Personally, I've found it handy in the past to have any views loaded within another view (like a main layout) to have access to variables set by other views. Other times, it's annoying. Smile But I think there are definitely use cases both ways. It defaults to trashing the data so most people will use it that way, I'm sure, but the option is available if they decide they need it.
Reply


Messages In This Thread
RE: Views and passed variable scopes - by Narf - 04-15-2016, 07:50 AM
RE: Views and passed variable scopes - by kilishan - 04-15-2016, 08:05 AM
RE: Views and passed variable scopes - by Narf - 04-15-2016, 09:19 AM
RE: Views and passed variable scopes - by Narf - 04-15-2016, 09:36 AM
RE: Views and passed variable scopes - by Narf - 04-15-2016, 09:49 AM
RE: Views and passed variable scopes - by Narf - 04-22-2016, 03:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB