L
Lin Ma
Hi,
I am wondering if I am doing right. Please advise.
I create a system with 8 major steps and each step can go different
direction. General speaking, a lot of if statements and functions inside.
Each page is over 1000 lines. In order for me to debug, I separate the lines
by function and create a template page.
Then I use <--# include... --> to link to this template page.
Also some of the code are shared with other page link query, table..., I
also create a temp page for this and include into other pages.
The pro is that:
1. if update, I just update one temp page and all the page will be updated.
2. easy to debug because it will make the page shorter. The one with include
page has only 140 lines and without the include page is over 1500 lines.
The con may be:
1. too many include command to make the system slow??
My question is Am I Doing correct? Or there is a better solution?
Thanks,
Lin Ma
I am wondering if I am doing right. Please advise.
I create a system with 8 major steps and each step can go different
direction. General speaking, a lot of if statements and functions inside.
Each page is over 1000 lines. In order for me to debug, I separate the lines
by function and create a template page.
Then I use <--# include... --> to link to this template page.
Also some of the code are shared with other page link query, table..., I
also create a temp page for this and include into other pages.
The pro is that:
1. if update, I just update one temp page and all the page will be updated.
2. easy to debug because it will make the page shorter. The one with include
page has only 140 lines and without the include page is over 1500 lines.
The con may be:
1. too many include command to make the system slow??
My question is Am I Doing correct? Or there is a better solution?
Thanks,
Lin Ma