Jump to content

Is PHP worth it in this case?


onemind

Recommended Posts

Hi,

I have made a 20 page website that displays my companies online portfolio. It really is just a brochureware site. I have used php include files to include the header and other stuff in a php template system to generate my site layout.

My question is, would i be better off running my site with php then clicking view source then copy and paste the generated html into html files and just host the html files rather than the php template script? Or is the call to include() so fast that i would hardly notice the difference and just keep the template system?

Basically, for a small site like this, will the php overhead be worth it or not?

Thanks for any opinions.
Link to comment
Share on other sites

To include files works very fast and you most probably wont notice any time-improvement at all by running it as html. Nobody will ever know!

But, why move it away from PHP ? If you are to change any layout in the future, you now can do that much easier and faster than changing 20 html pages separately.

And one other thing - what about all the PHP possibilities and fun !!!  8) 8) 8)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.