Hello great people of tek-tips.
I am faced with a design option that can be argued for the ages. One script wonder or everything layed seperate?
So, I have about 10 PHP pages on my website, one for each top level category. The largest file being 45KB and the smalest being 17KB.
I really like how it is right now because updating is simple, everything works, and my code is clean enough that any half witted PHP programer can easily see what is going on. Now for the questions:
1. Should I chop my pages into sub pages? Each page currently handles anywhere from 2-8 different top level possabilities.
2. Should I keep going with how it is?
3. Will removing the comments (from the live version only, not the copy!) make a difference on performance?
5. What should be a file size I should not exceed?
Also, what do you think?
I am faced with a design option that can be argued for the ages. One script wonder or everything layed seperate?
So, I have about 10 PHP pages on my website, one for each top level category. The largest file being 45KB and the smalest being 17KB.
I really like how it is right now because updating is simple, everything works, and my code is clean enough that any half witted PHP programer can easily see what is going on. Now for the questions:
1. Should I chop my pages into sub pages? Each page currently handles anywhere from 2-8 different top level possabilities.
2. Should I keep going with how it is?
3. Will removing the comments (from the live version only, not the copy!) make a difference on performance?
5. What should be a file size I should not exceed?
Also, what do you think?