You are here: Re: Dynamic Site Methodology « PHP Programming Language « IT news, forums, messages
Re: Dynamic Site Methodology

Posted by Wayne on 11/05/71 11:17

On Sun, 29 May 2005 18:05:18 GMT, bruce@nospam.com (Bruce) wrote:

>1. Make all the pages php and query and create pages on the fly as needed
>by the users.
>
>2. Setup a cron task to call a php script and generate all the html pages
>once a day during some low usage period.

I do #3:

3. Make all pages php and query and create pages on the fly as needed
but cache the results and display the cached result for all subsequent
users if the content hasn't changed.

The reason for this is that while content can change infrequently it's
also unpredictable about when it does change. With a cron task,
changes to the site are not immediate. Also, most of the pages are
custom to each user in some degree (displaying whether or not they are
logged in) even if the content is static. We also rotate ads which is
another reason for keeping the pages at least partially dynamic.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация