Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Website based on scripts

Status
Not open for further replies.

desktophero

Programmer
Mar 30, 2001
33
US
Question for the group: Which way is better?

1.) One ASP page that has server side includes, and is based upon options within the URL to change the body, title, and any images on the site...every link recreates the one web page with new information

2.) Individual pages for each portion of the site with server side includes to change the body, title, and any images

3.) Individual pages for each portion of the site with no server side includes. Body, title, and images are 'hard-coded'


I have been running concurrent web sites on the same hardware for an intranet site. One site uses option #1 from above, the other uses option #2. There have been no significant resource utilization on the IIS 4.0 web server, however the pages do load a little bit faster using option #1.

The web admins at the company I work for say that option #2 is the 'standard' and should not be deviated from, however - programmatically - I can 'do' whatever I want.

I appreciate everyone's opinion on this. Please let me know your thoughts.

Thank you,

JDubya
desktophero@cox.net
 
desktophero,

Option 1 is a bad choice simply for trouble-shooting reasons.

Option 2 would be my choice since you could make global changes with server side includes and .css files.

Option 3. Not a good idea to hard code what you could be changing in the future, unless you like spending your time editing the same line over and over and over and over and over....


fengshui_1998
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top