Re: Dynamic Site Methodology



In comp.lang.php
Wayne <not@xxxxxxxx> wrote:

>On Sun, 29 May 2005 18:05:18 GMT, bruce@xxxxxxxxxx (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.

So are you using a third party caching program like Zend Accelerator or
doing it yourself?


.



Relevant Pages

  • Re: database lookup
    ... the query on the subsequent page, and display the "drill down" data. ... The thing with PHP and MySQL is that you need the user to do an action ... I tried to state that I have the database designed and implemented but I ...
    (alt.php)
  • MySQL/PHP - Query Form
    ... I'm quite weak at PHP, so I was hoping to get some help understanding the ... I'm trying to create a "query form" that will allow ... As the code is, it will display the form, but it ...
    (alt.php)
  • MySQL/PHP - Query Form
    ... I'm quite weak at PHP, so I was hoping to get some help understanding the ... I'm trying to create a "query form" that will allow ... As the code is, it will display the form, but it ...
    (comp.lang.php)
  • Stuck & Need Help with "Generate Report"
    ... I need to complete this "Generate Report" page for my employer and I'm ... What I want to do is create a single file to display and process the ... can I have this page split PHP | HTML |PHP when using the "if ... php file so that if sumbitted, here is the query and output BUT if not ...
    (comp.lang.php)
  • Result set not being Limited
    ... I am fairly new to php & MySQL. ... functions to display some of the fields based on certain conditions. ... so connection and paging code is here: ... $query = mysql_query; ...
    (comp.lang.php)