Search papers, labs, and topics across Lattice.
This paper introduces a three-phase workflow and toolkit, implemented within the Structural Bioinformatics Library (SBL), to automate GUI generation for command-line executables. The workflow leverages a Model-View-Presenter (MVP) architecture to decouple logic and enable platform-specific code generation, targeting VMD, PyMOL, and web servers. The key result is a system that automates GUI creation after an initial plugin design phase, reducing engineering effort and improving portability for complex interactive applications in structural bioinformatics.
Automating GUI creation for command-line tools can drastically reduce development time and improve accessibility across diverse platforms.
We present a workflow and associated toolkit to automate the creation of graphical user interfaces (GUI) for executables run from command line interfaces (CLI). The workflow consists of three phases, namely (Step 1) the plugin design, (Step 2) the formal (platform independent) specification of the GUI, and (Step 3) the plugin code generation for the targeted platforms. Our architecture is aligned with the Model--View--Presenter (MVP) pattern: steps one and two build the Model and View descriptions, while step three implements the Presenter layer that binds inputs, invokes the CLI, and updates outputs. Once Step one has been (manually) completed, steps two and three are fully automated. The decoupled MVP design and platform-specific generator modules enable reuse of logic, portability across ecosystems, and significant reductions in engineering effort for complex interactive applications. We primarily use our workflow to generate GUI in structural bioinformatics for CLI executables from the Structural Bioinformatics Library (SBL), targeting three platforms, namely VMD, Pymol and Web servers. The workflow can be used as a guideline, while its implementation available in the package Plugin_manager from the SBL, see https://sbl.inria.fr/doc/Plugin_manager-user-manual.html.