You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer, I want to use a template engine for the web interface.
The current implementation seems difficult to extend and improve because the html is generated inline in a single file. A template engine, for example jinja, separates the html template from server logic, making it easier to extend and maintain. Flask has template support built in, as well as a routing system.
@patvdleer has a branch at flask_presets that shows how the web engine could be implemented.
@florianfesti I'd be happy to help with a dedicated PR to introduce flask and jinja if there is any appetite to go that direction.
The text was updated successfully, but these errors were encountered:
As a developer, I want to use a template engine for the web interface.
The current implementation seems difficult to extend and improve because the html is generated inline in a single file. A template engine, for example jinja, separates the html template from server logic, making it easier to extend and maintain. Flask has template support built in, as well as a routing system.
@patvdleer has a branch at flask_presets that shows how the web engine could be implemented.
@florianfesti I'd be happy to help with a dedicated PR to introduce flask and jinja if there is any appetite to go that direction.
The text was updated successfully, but these errors were encountered: