Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Switching Between Development and Production Environments

by Abigail-II (Bishop)
on Oct 06, 2003 at 20:33 UTC ( [id://297072]=note: print w/replies, xml ) Need Help??


in reply to Re: Switching Between Development and Production Environments
in thread Switching Between Development and Production Environments

Switching to a the same OS doesn't solve this particular problem. Of course there are advantages if your development, testing and production areas all use the same platform, but that has little to do with configuration issues. Typical configuration issues include (but are not limited to): user names, passwords, database names, database servers, file and directory names, hostnames, and port numbers.

One way of dealing with it is by using environment variables, but that quickly becomes unwieldy. A typical way of dealing with this is configuration files. Configuration files could be stored at a fixed location (say /etc/opt/app/application-name/config); a location relative the program, the working directory during startup, or the home-directory of the user; given as a parameter of the program; passed via an environment variable; or some combination of them.

Abigail

  • Comment on Re: Switching Between Development and Production Environments

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://297072]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-23 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found