Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Config Files Redux

by digger (Friar)
on Nov 28, 2006 at 00:42 UTC ( #586382=note: print w/replies, xml ) Need Help??


in reply to Config Files Redux

If the biggest concern in this whole discussion is hand-editing of the config file by "non-techies", why not have a gui for editing the config? I understand the philosophy of allowing people to easily edit configs, but if we want to allow non technical users to make changes, maybe allowing them to directly edit a file by hand isn't the greatest idea.

Limiting the modification of the config file to methods provided by the developer eliminates the issues of validating the config at load time, and reduces support issues in the long run. I store my config data for Perl and C# apps in XML files, and have had no problems with the files being corrupted by an end user. If the user mucks around with the config files on their own, without making a backup first, and causes problems with the application, that is their own fault. They can recreate the configuration, or pay for my time to fix the file by hand.

just my 2 cents.
digger

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://586382]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2021-10-24 01:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (88 votes). Check out past polls.

    Notices?