An application for a new industry is assembled from configuration, not written again
Screens, data, access rights and processes are described in configuration files. Launching a product for another industry does not mean copying and rewriting code.
The task
Launch applications for different industries — freight forwarding, car servicing — on one base, without copying code.
Solution
Screens, data, access rights and processes are described in configuration files. The interface is assembled from ready blocks — table, form, field, button, tabs, menu — and the same files describe routes, entities, who sees what, data queries and translations.
Simple expressions interpolate data, cast types, format values and check conditions. Configuration is validated against a schema and by a custom validator, so a mistake is found before launch rather than by a user.
Result
157 modules in the base, 60 modules and 218 processes in the industry application, and one more application of 14 modules. A new industry is connected through configuration.
The second use of the same approach
The principle is the same as in the freight accounting system, the task is different: there configuration describes processes, here it describes screens, data and rights.