I've been using Coldbox lately and have been making use of the environment control interceptors:
http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbEnvironmentControl Previously I had built what essentially amounted to the same idea by pulling in environment specific settings via xml onApplicationStart() and using a naming convention for the files based on cgi.remote_host and host headers setup within apache or IIS. if the browser is looking at http://dev.mydomain.com ... app.cfc pulled in '/environments/dev_mydomain_ com.xml'. -- Jim Rising Serial Entrepreneur Software Engineer Web Developer "Knowledge work requires both autonomy and accountability." On Sat, Oct 24, 2009 at 2:53 PM, Ajas Mohammed <ajash...@gmail.com> wrote: > 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. > > >