SPrelewicz
Programmer
I am implementing our site into a full database driven dynamic site. I am having a hard time making up my mind about how the design of the scripts should go.
Specifically- Is it best to have one script that controls the entire page and import modules into that script that do other things. For example, I have a module that handles users creating and editing their accounts. Is it best to have one driver script, and in that script check a parameter for what the user wants, in this case 'create account'. Then in the driver script import the Account module to do the functions, or make the module a separate application and send the user to that script.
Most of my questions on this forum are theoretical ones like this. I have trouble with that stuff, or maybe I think too much
Again, thank you.
Specifically- Is it best to have one script that controls the entire page and import modules into that script that do other things. For example, I have a module that handles users creating and editing their accounts. Is it best to have one driver script, and in that script check a parameter for what the user wants, in this case 'create account'. Then in the driver script import the Account module to do the functions, or make the module a separate application and send the user to that script.
Most of my questions on this forum are theoretical ones like this. I have trouble with that stuff, or maybe I think too much
Again, thank you.