Forum Moderators: coopster

Message Too Old, No Replies

Single Global Pages

         

ag_47

5:06 am on Apr 26, 2008 (gmt 0)

10+ Year Member



Hi,

I'm working on a project, I wanted to clarify something. The website is divided into categories which will look similar, only links/titles will be unique.

Would it be more efficient to have a single template page, that depending what variables are passed to it will produce a result and have all directories index files get their content from this page? Or should each directory have it's own, independent index file?

In other words, is it more efficient to have all visitors loading the same script, or should they be handled by different scripts depending on category?

g1smd

7:51 pm on Apr 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What is going to cause you the least stress when you need to make a design change to the site?

I would have one page, not multiple pages.

I would map "static looking URLs" on to the single dynamic page too.

ag_47

12:33 am on Apr 27, 2008 (gmt 0)

10+ Year Member



It would be a lot easier to update globally with a single template page. If I want to add something new, I simply change it in one place and since all other directories are reading from here, poof the update is everywhere. (I'll probably use curl to 'read').

I suppose the server's cache will increase the efficiency since the same pages are always requested.

ty