[nycphp-talk] single entry point
Jim Hendricks
jim at bizcomputinginc.com
Tue Jul 30 11:14:08 EDT 2002
> Yeah, having one page for everything is tough to manage. I like
> separating pages by purpose. Though, a purpose may have several steps
> that I'll integrate into a given script using switch statements.
With single entry point, and PHP's dynamic include, I can seperate pages by
purpose, but all going through the single entry point. PHP also allows for
a variable in an include which eliminates the need for a switch statement
like
is required in ASP.
> As Oktay mentioned, having one page vs many doesn't make a real difference
> for securty. Use an include file that does the login validation at the
> top of each file which needs it.
Please see my response to Oktay.
Thanks,
Jim
More information about the talk
mailing list