Question
site flow
What is the prevailing wisdom, is it generally better to
<cfif> at the most (more) root levels? Specifically as an
example:
Scenario 1: index.cfm has <cfif isDefined(SESSION.auth.isSignedIn)> and then route every new page call through index.cfm each and every time
OR
Scenario 2: index.cfm is for visitors who upon signin are routed via signin.cfc to index4Members.cfm or even a . . /Members/index.cfm that has cf protection applied to the (which I have no direct experience in mind you).
Obviously the cat can be skinned both ways but the site I am in the midst of is extremely comprehensive and threatens to become spaghetti logic all too quickly. Also I know that MVC and FuseBox etc purport to address this sort of issue but to my research to date they are (for me at this point) another layer of "learning". As always, thanks in advance for any and all feedback.
Scenario 1: index.cfm has <cfif isDefined(SESSION.auth.isSignedIn)> and then route every new page call through index.cfm each and every time
OR
Scenario 2: index.cfm is for visitors who upon signin are routed via signin.cfc to index4Members.cfm or even a . . /Members/index.cfm that has cf protection applied to the (which I have no direct experience in mind you).
Obviously the cat can be skinned both ways but the site I am in the midst of is extremely comprehensive and threatens to become spaghetti logic all too quickly. Also I know that MVC and FuseBox etc purport to address this sort of issue but to my research to date they are (for me at this point) another layer of "learning". As always, thanks in advance for any and all feedback.
