You are here: Re: CMS question « PHP Programming Language « IT news, forums, messages
Re: CMS question

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]


Удаленная работа для программистов  •  Как заработать на 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

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