In my current development environment we have 4 levels of deploying
apps:
- actual coding takes place on the developer's workstation
- daily builds are deployed to a development server
- testing builds are deployed to a testing cluster
- production builds are deployed to the production cluster
What I'm running into is that we have some interdependencies between
apps that run on different domains. An action by a user in foo.com may
redirect them to bar.com. What I would like is that when I'm viewing
dev.foo.com (an Apache virtual host on the development server) the
action would send the user to dev.foo.com rather than the production
foo.com. I dimly remember that in the Java world, Ant can be used to
change deployment settings like this. Has anyone done anything similar
in CF?
One solution I've been contemplating is a global config file that would
list local, development, testing, and production settings for each
website. These would be loaded into Application.cfm. Then when a script
needed to redirect somewhere it would pull the appropriate variable
from the loaded config file. I could either set the appropriate
configration data set according to a variable in Application.cfm, or
hard code the data set choice to be dependent on the machine name.
Any other ideas?
--
Howard Fore, [EMAIL PROTECTED]
"The basic tool for the manipulation of reality is the manipulation of
words. If you can control the meaning of words, you can control the
people who must use the words." (Philip K. Dick)
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

