While I think simple constants are a nice way to handle this, we've had problems in the past with constants as they are immutable which is both good and bad. I don't think we have a good set of defaults to use here that won't require more documentation and possibly confuse users who don't understand multiple environments or want to configure more than just a constant per environment.