What if the application were aware of its different running environments so it could change its configuration automatically based on the current one?
If we wanted to do that, we had to solve 2 issues:
{% img http://2.bp.blogspot.com/-eiWPoCGfqzQ/Tz7KWbP8pLI/AAAAAAAAAEM/XzBpA6-RV3Y/s1600/steps.png %}
Fortunately for