On the last question, technically yes.
The key is, how big is big?
If the global file is less than 1000-2000 lines, I wouldn't worry about it.
If it starts getting so large that it's 50-100k, then yes you should
probably break it up.
Under 40k and don't even worry about it unless you are under
I have a php file with a lot of user defined funtions and wraper
functions in the this global file. Almost all my pages then use the
funtions in this one file (and variables), this is so I can keep my
website very modulure. However I know that having php go through the
file takes a bit of proces
2 matches
Mail list logo