| 9 | | Another problem - if all actions like asking user confirmations, deleting keys, etc. will be based on JS and XPATH '''only''', the code may be shorter and cleaner, but resulting config file will be unreadable and ununderstandable by non-programmers. We need to find good balance between "declarative syntax" (simple, but harder to extend) and "JS API" (universal, but harder to understand). And JS code is hard to mix with declarative XML syntax without eved IDs of elements (we do not want another self-made JavaFX 1.0, I hope). |
| | 9 | Another problem - if all actions like asking user confirmations, deleting keys, etc. will be based on JS and XPATH '''only''', the code may be shorter and cleaner, but resulting config file will be unreadable and ununderstandable by non-programmers. We need to find good balance between "declarative syntax" (simple, but harder to extend) and "JS API" (universal, but harder to understand). And JS code is hard to mix with declarative XML syntax without even IDs of elements (we do not want another self-made JavaFX 1.0, I hope). |