Reply to Re: include large file - right choice ?

Your name:

Reply:


Posted by Tony Marston on 03/09/06 10:55

I wouldn't. There is more of an overhead of opening and reading several
small files than there is in opening an reading one large file.

I avoid that in my application as it is broken down into subsystems, and
each subsystem has its own language file. When you consider that only one
script from one subsystem is running at any one time this means that I only
open the one file hat is relevant to the current script.

--
Tony Marston
http://www.tonymarston.net

"Bob Bedford" <bob@bedford.com> wrote in message
news:440ee732$0$723$5402220f@news.sunrise.ch...
> "Tony Marston" <tony@NOSPAM.demon.co.uk> a ιcrit dans le message de news:
> dum949$3ps$1$8302bc10@news.demon.co.uk...
>> With my internationalisation feature I do not put all the text into a
>> single file, I have a separate file for each language. This means that
>> each file is no bigger than it need be, and it is also much easier to
>> give someone a copy of a small file for translation purposes.
>
> Thanks for replying Tony.
>
> It's the structure I've: 1 file for every language, and they will be 100ko
> each quite soon.
>
> My question is: Should I split every large language (engmysite.inc,
> germysite.inc,itamysite.inc) in many little files (engindex.inc,
> engcontact.inc....) ?
>
>
>
>

[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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация