Perhaps you have seen in the latest 4.1 dev release, that we have started to add coding tips to the admin, like the following, to help you move your settings to application.cfc (only if you like of course).
-------------------------------------------------------------------------------
You can also set this in the Application.cfc as follows:
this.locale = "de_CH";
-------------------------------------------------------------------------------
in addition we will add a page to admin (in Railo 4.2) that give you a "application.cfc" based on all your settings that are possible in application.cfc.
For Railo 4.2 we are adding support for some new settings to the application.cfc.
But will not only add new settings to application.cfc, we will also "clean the house", by giving you access to settings only possible in other ways today. like we already did for "locale" and "timezone". today you not only can define this regional settings the following way
-------------------------------------------------------------------------------
setTimezone("PST");
setLocale("de_CH");
-------------------------------------------------------------------------------
you can also do it this way in the application.cfc
-------------------------------------------------------------------------------
this.locale="de_CH";
this.timezone="PST";
-------------------------------------------------------------------------------
i personally never have understand why a setting like "Locale" can only be done with a function and other settings are made inside the application.cfc.
So enough introduction on the topic, let's coming to what is undecided yet and where we would like to get your input.
We are not sure if we should add the settings possible with the tag <cfsetting> (requesttimeout, showdebugoutput) to the application.cfc as well.
In theory they make no sense in the application.cfc, because this are settings unique to a request, but a request can pass multiple application.cfc and the last application.cfc passed will make that decision.
So a setting unique to a request inside the application.cfc that is perhaps not unique to a request?
in practice most applications i see only pass one application.cfc in a single request and if there are more than one, i can live with "the last decides", what do you think?
We do the best to add support for as much as possible to the application.cfc, but the question is, what miss you most in the application.cfc?
what you think about a setting like
this.singelton=true;
// or
this.loadingOnce=true;
if set to true, the application.cfc is only loaded once and not new with every request (what is a speed improvement)?
Micha