Reply to Re: include large file - right choice ?

Your name:

Reply:


Posted by Peter Fox on 03/08/06 11:01

Following on from Colin McKinnon's message. . .
>Bob Bedford wrote:
>>
>> I've a file in wich I've almost all the text of my website. I do this
>> because the site is multilingual and this is easier to translate.
>>
>
>Most people keep data in databases or data files.
Not where 'data' is text. Most web pages are stored as files.
Databases are great tools but not essential.

>
>> The file is becoming ever larger as we add new pages on our site. Actually
>> the file is about 100ko
However if you have a well structured system, either a database or
separate component files would reduce the overhead for a single page
access.

In either event you're looking at modifying your translation procedure.
Perhaps you have an additional process which parses your text file once
(each time it has been changed) into the necessary blocks. Then you can
either include according to some logical file name convention or access
database blobs by some logical key.


--
PETER FOX Not the same since the e-commerce business came to a .
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>

[Back to original 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

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