I'm definitely seeing the benefit of doing web development locally and then uploading my files to a remote server when I'm ready to go live--especially since I'm the proud new owner of one of the Santa Rosa MBP's and can now be a mobile developer. Of course, there is the issue of needing a separate configuration file for remote and local, what do you folks typically do in that situation?
In my case, developing PHP, I'm thinking of replacing, for instance, config.php with a switch statement based on what the $_SERVER['SERVER_NAME'] says (e.g. if MacbookPro.local then load configuration.dev.php, else load configuration.production.php).
Just wondering, how do you guys manage multiple environments? Currently I'm using PDT/Eclipse, but I'm probably going to get Dreamweaver CS3 very soon. Are there tools in Dreamweaver to manage these sorts of environments?
In my case, developing PHP, I'm thinking of replacing, for instance, config.php with a switch statement based on what the $_SERVER['SERVER_NAME'] says (e.g. if MacbookPro.local then load configuration.dev.php, else load configuration.production.php).
Just wondering, how do you guys manage multiple environments? Currently I'm using PDT/Eclipse, but I'm probably going to get Dreamweaver CS3 very soon. Are there tools in Dreamweaver to manage these sorts of environments?