Mike Kear wrote:
> I'm experimenting about with using an XML file for many of the
> configuration items specific to a site (dsn, paths, etc) and wondered
> at what point is the best to have Application.cfc read the XML file
> 
> On the assumption that reading and parsing a XML file is quite
> expensive in processing terms, I assume that it's best to read the XML
> file in the OnApplicationStart method.

It is what we do (though we use a properties file instead of a 
XML file).

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239142
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to