tracker issue : CF-4021594

select a category, or use search below
(searches all categories and all time range)
Title:

Datasource to Application.cfc / Instance config to Application.cfc

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Denard Springle / Denard Springle (Denard Springle)

Created: 07/16/2015

Components: Administrator

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 11

A handy addition to the admin would be the ability to have datasources generate and display the Application.cfc equivalent, e.g.:

this.datasources["[datasource]"] = {
	  class: ’[driver]’,
	  connectionString: ’[connectString]’,
	  username: ’[user]’,
	  password: "[(encrypted) pass]"
};

This would be especially handy for writing CLI code where datasources (currently) need to be spelled out. 

Second to this, it would also be handy to have an Application.cfc generated out of a specific instance configuration.

Lucee does both of the above already and it is quite handy for creating portable applications.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4021594

External Customer Info:
External Company:  
External Customer Name: Denard
External Customer Email:

Attachments:

Comments:

This is a great idea. Railo/Lucee added this a while back and it's very valuable to be able to take admin settings and turn them into per-application settings!
Vote by External U.
6635 | July 16, 2015 12:43:42 PM GMT
Please implement this, makes app portability much easier.......
Vote by External U.
6636 | July 16, 2015 12:49:25 PM GMT
Bradley Please explain in 25 characters or more how this feature impacts productivity and why you are adding a vote.
Vote by External U.
6637 | July 16, 2015 12:50:31 PM GMT
Yes, this would be a nice feature to have.
Vote by External U.
6638 | July 16, 2015 01:39:43 PM GMT
+1 Vote must be between 25 and 4000 charactersVote must be between 25 and 4000 charactersVote must be between 25 and 4000 charactersVote must be between 25 and 4000 charactersVote must be between 25 and 4000 charactersVote must be between 25 and 4000 charactersVote must be between 25 and 4000 charactersVote must be between 25 and 4000 characters
Vote by External U.
6639 | July 16, 2015 02:02:09 PM GMT
+1 very handy feature....................
Vote by External U.
6640 | July 16, 2015 03:07:33 PM GMT
+1 ..................................................
Vote by External U.
6641 | July 16, 2015 04:31:22 PM GMT
+1 +++++++++++++++++++++hhhh
Vote by External U.
6642 | July 17, 2015 07:31:48 AM GMT
Agreed. Exposing admin settings at the app level could be extremely useful.
Vote by External U.
6643 | July 19, 2015 05:51:16 PM GMT
I read where this was discussed and I see the people voting for this and their reasons, and they are sound, so +1 from me.
Vote by External U.
6644 | July 23, 2015 07:32:23 AM GMT
Add one more +1 from me. On a side note, it sure is good to have this 25 character limit on a simple vote. It definitely helps me express a sound, unique reason for giving my +1. I wish everything made us provide an arbitrary amount of feedback before we could express our opinion. </cfSnark>
Vote by External U.
6645 | July 23, 2015 09:07:39 PM GMT