Posted by G.E.M.P on 01/19/06 14:47
Jon wrote:
I'm looking for some major
> algorithmic disadvantage here that I cannot seem to come up with as of now.
push all output through a print function that takes a file handle
as a parameter. That way you can run in dynamic mode (STDOUT) or
alternately and write the whole site out as static html.
With static html you don't have to worry about algorithmic performance.
site_bot at phpclasses.org works that way.
> The only problem I've found is regarding what happens if the visitor hits
> the page without a query string being passed.
if($query_string == NULL || $query_string == "")
{
$query_string = "some default pageID or whatever you need";
}
Dynamic screen printing from a richly populated database schema is
the easy part. The hard part (in my experience) is
populating the database with good content.
The mechanics of populating the database is hard and the
problem of finding good content is even harder.
Navigation:
[Reply to this message]
|