Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Switching Between Development and Production Environments

by seaver (Pilgrim)
on Oct 06, 2003 at 16:40 UTC ( [id://296993]=note: print w/replies, xml ) Need Help??


in reply to Switching Between Development and Production Environments

svsingh and melly,

kinda off topic, but seeing linux is free and grub is stable, why put yourself through such pain when the production environment is linux, and add linux to your machines as a development environment??

Sam

  • Comment on Re: Switching Between Development and Production Environments

Replies are listed 'Best First'.
Re: Switching Between Development and Production Environments
by Abigail-II (Bishop) on Oct 06, 2003 at 20:33 UTC
    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

Re: Re: Switching Between Development and Production Environments
by BUU (Prior) on Oct 06, 2003 at 18:09 UTC
    They like windows?
Re: Re: Switching Between Development and Production Environments
by Melly (Chaplain) on Oct 07, 2003 at 09:02 UTC

    Well, I wouldn't replace my win machine, but I don't really have any excuse for not setting up a linux box to act as a development environment/firewall/etc.

    That aside, I doubt that I'd want to implement the kind of path-structures one typically comes across on an ISP's CGI-server

    (OT) IMHO the world would be a happy shiny place if all desktops were windows, and all servers were linux, BWTFDIK?

    Tom Melly, tom@tomandlu.co.uk

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2024-04-23 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found