1 |
----- Original Message ---- |
2 |
|
3 |
> From: pk <peterk2@××××××××.se> |
4 |
> BRM wrote: |
5 |
> > The point of the UI is that you ought not care what goes where, unless you are |
6 |
> debugging the UI or the program itself. |
7 |
> > While a UI is important; a good UI is key. |
8 |
> And a plain text editor is, imo, a good UI; everybody knows how to use |
9 |
> it. Why bring in another extra (translation) layer? |
10 |
|
11 |
That's only good if you always store all options - every possible combination, etc. - at all times. |
12 |
Unfortunately, that's almost never the case. |
13 |
|
14 |
Thus you need to be able to know how to create a good working configuration. |
15 |
This requires having a tool the user can use to edit the configuration, with the tool |
16 |
providing access to the options you otherwise would not know about that also |
17 |
protects you by helping to ensure the configuration is in the valid format. Of course, |
18 |
the tool also has to get upgraded with the changes in the program - so that it knows |
19 |
how to build correct configurations. |
20 |
|
21 |
This is where XML does somewhat shine for configurations - you can get by with a little |
22 |
less by enabling the tool to use XML validation on the configuration file; then even if your |
23 |
tool falls a little behind, it can still validate the configuration file against the DTD/RNG/Schema. |
24 |
But it also means that you MUST have a tool. |
25 |
|
26 |
Ben |