Or on may find it a little easier to use ini files, and CF's functions to read them (added in CF 6), such as getprofilestring, getprofilesections, setprofilestring.
/charlie From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Wes Byrd Sent: Saturday, October 24, 2009 6:03 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] Development vs Production Application.cfm and other things... I like to keep the application.cfc the same and use an XML file to store the application variables and their values that differ on each machine. So, in the application.cfc on application start, you can execute a component that can parse the XML and set application scope vars accordingly. Wes From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Ajas Mohammed Sent: Saturday, October 24, 2009 3:53 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Development vs Production Application.cfm and other things... Hi, Just wondering if anyone can share there Development vs Production Application.cfm or .cfc techniques. If you have a sample application.cfm or .cfc file to share, then that would be great. I will give some background as to how I am doing this right now. I usually set application variables which of course, have different values in development vs production. Best example is pathtoSomething application variable's value which would be different in development and production. Any other advices are also welcome. Thanks, Ajas Mohammed. ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink <http://www.fusionlink.com> ------------------------------------------------------------- ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------