Current location: Hot Scripts Forums » Programming Languages » PHP » Hard Page vs. Generated Page (disadvantage?)


Hard Page vs. Generated Page (disadvantage?)

Reply
  #1 (permalink)  
Old 08-25-05, 12:11 PM
zellerman zellerman is offline
New Member
 
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Hard Page vs. Generated Page (disadvantage?)

I know enough perl to be dangerous and I'm now looking at learning PHP to do some pretty tame page generation. Most of the pages on my site now are "hard" html pages. A few are cgi (perl) generated. (But most of my "hard" pages are created programatically from a template and info from a product database.) Basically I'm trying to move page generation from a batch process on my local machine to script generated on the server.)

Can anyone tell me (or point to a resource) if there are any dis-advantages to generating pages on the fly vs. plain html (hard pages)??

I'm thinking marketing/search engine issues...

Will php generated pages rank any worse than plain html, index differently, etc. etc. Are there any issues at all? I have to think not since most all html is now generated on the fly....???

Comments and Where I can learn more? Please.
Reply With Quote
  #2 (permalink)  
Old 08-26-05, 11:26 AM
dennispopel dennispopel is offline
Coding Addict
 
Join Date: Mar 2005
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
Hello,

For the end user and SE the static and dynamic pages are all the same. In fact, you can even tupe up web server to serve html files thru PHP. The only advantage of batch generating pages is the performance gain (suitable for millions hits/day). It is used if the pages will never change, but they expose you to maintenance problems connected to possible redesign difficulties etc.

If you use a good framework that has caching API then you can save server CPU if you use caching of dynamic page (both on the client and server sides).
__________________
onPHP5.com - PHP5: Articles, News, Tutorials, Interviews, Software and more
Reply With Quote
  #3 (permalink)  
Old 08-26-05, 11:34 AM
zellerman zellerman is offline
New Member
 
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for replying. I've also found some interesting sites discussing the issues but I always enjoy comments form discussion.

Thanks Again.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classified Ads skipper23 Perl 3 11-22-05 02:22 AM
Passing a variable to another page tapir PHP 8 02-16-05 05:38 PM
need help creating an update & confirm page mikewooten PHP 1 11-08-04 04:28 PM
page browsing problem mivec PHP 3 04-17-04 03:43 AM
Classified Ads skipper23 Perl 2 12-30-03 03:43 AM


All times are GMT -5. The time now is 07:02 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.