Description
I'd like to rename two concepts (with deprecation notices in 4.4 and full switch in 5.0): Symfony Environments and the Symfony
Profiler.
I know, they are core concepts, but I think it's time to reconsider their names. The impact will be huge in the docs, and our current users will probably hate us, but I think this is for the best going forward.
Symfony environments, why is it confusing?
We now manipulate environment variables everywhere in Symfony.
Most cloud providers also have environments.
You are testing the prod environment (the Symfony one) for your development
environment (local machine). See what I mean?
A Symfony environment is a way to switch the configuration to a different set of values: from dev to prod or the other way around. Or test.
I'd like to rename it to Symfony mode.
APP_ENV=prod
to APP_MODE=prod
You are testing the prod mode on your development environment.
What about the Symfony Profiler?
I made the original mistake. A profiler is something very specific, like
XHProf, or Blackfire.
The Symfony profiler is not a profiler in the usual sense of the word. That's annoying and I keep bumping into people that do not understand the difference with Blackfire for instance.
There is also an inconsistency as we have a web debug toolbar, not a web
profiler toolbar. Another confusion, why is the name different?
I'd like to rename it to Symfony Inspector (was Symfony Debugger initially, but I changed my mind -- see comments below). I think it describes what it does best and also convey the notion that it should not be deployed in production. It is also the name used by browsers, so it matches well with our user expectations.
I know that this might seems pointless, but naming things correctly helps
developers understand the concepts.
WDYT?