I'm working on a not-so-big website (currently about 1,5MB without database files) that will receive not-too-much traffic (let's say 1000 visitors a day, being optimistic here). It's supposed to be available in Dutch and in English. I want one version of the scripts/pages, loading language-specific content depending on the language setting in a cookie.
Now, I see two ways:
* store all content in a MySQL table, for the different languages
* use the include file approach
The question: how about performance? The include file seems the most attractive at first sight, querying a database on each page request sounds intensive. Then again, as the site grows bigger, language files will grow and HTML output might not be too fast anymore.
Has anyone got experience with both approaches, and how they scale?
Thanks in advance, Wald
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php