8.6. Improving Our Design

Having implemented the web UI, we are in a better position to review and improve our design. What are some areas that could use improvement?

One problem with the current design is that the logic for configuring network interfaces is contained in setup_network.php, and unfortunately, this logic is not available to other UIs, like the command line interface (CLI). When we first implemented the network setup page, we did not foresee how complex this configuration logic would be, and so we decided that all UIs would duplicate this "simple" logic. In hindsight, we feel that the design would be improved by subsuming the network configuration logic into a single manager, notably the networkd daemon. That way, the CLI user interface ...

Get Linux Appliance Design now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.