seconded. we load several Mb from XML into a server-scoped struct on startup. 
it adds a second or so to startup but the benefit outweighs the performance 
cost and memory usage hasn't been an issue.

> have people found maintaining translation information easier and more
> scalable (e.g. when adding new languages) in an XML file or in a db?

we manage translations through a central resource which validates any changes 
against our translation file's XML DTD. anything that isn't well-formed XML 
can't be saved into the file. 

we use CF's J2EE deployment functionality so using XML for app/translation 
config makes sense in our context - each app is just a series of files that 
don't rely on acquiring a DB connection immediately in order to get up and 
running. even if the app can't connect to the DB, you can at least see the 
error message in your native language.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Paul Hastings
Sent: 19 December 2005 15:12
To: [email protected]
Subject: Re: [CFCDev] OT: CFC that reads XML


Jason Daiger wrote:
> At what point, or size, do people feel loading translation information/data
> on start up becomes to memory intensive and therefore warrants the need to
> load the information on each request either out of a db or xml file? Also,

pretty much never. we have some monster thumping huge rb files & we've 
yet to see memory be an issue. the init time can be a minor issue 
depending on the client but even that can be danced around by having 
some process init the app instead of a human being.



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]



________________________________________________________________________
This e-mail has been scanned for all viruses by MessageLabs.
________________________________________________________________________



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to