Welcome Guest, Not a member yet? Register   Sign In
Extending controller to fetch common data... but not 100% of the time.
#1

[eluser]BilliamTheSecond[/eluser]
I've extended my controller to handle queries used for things like header navigation.

However, right now I'm running queries on pages that never load a view (ex: self-submitting form pages that redirect on success).

How should I deal with automatically fetching data almost all of the time? I only need to run this query if a view is going to be loaded, and specifically, only if the header is loaded.

Really, my header doesn't need to be dynamic right now, and could just be cached, so this is more of a general question.


Messages In This Thread
Extending controller to fetch common data... but not 100% of the time. - by El Forum - 04-07-2010, 11:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB