Which one is best for user interface or DSL?

We have a system whose behavior is determined by a number of XML files. (About 50 different XML files, each of which controls the behavior of the subsystem.)

XML files for obsolete reasons are in a special format designed for easy use by various components of the system.

The user format is not very intuitive and human-readable (which is also important for us).

So how do we solve this problem with readability?

I feel that an intuitive user interface written on top of these XML files should do the job.

However, my colleague believes that replacing XML files with DSL is the best idea, as they can be either intuitive or machine-readable.

Is this a good idea or a bust? I feel that getting DSL permissions is extremely difficult compared to the user interface. But I could be wrong.

Any help would be greatly appreciated. Thanks.

+3
source share
2 answers

The XML-to-XML conversion is a halfway solution and is probably the approach I would use.

The user interface must be very complete before replacing the textual description of the behavior, and ordinary text idioms, such as copy and paste, search and replace, etc., are inconvenient for implementation with good usability in the user interface.

DSL , , , . - , , -, , , , .

, XML , XML- XSLT ( - XSLT ..) .

: ad-hoc- ( ), , .. , .

+2

Source: https://habr.com/ru/post/1709937/


All Articles