Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve developer experience with html templates #568

Open
Ranthalion opened this issue Jul 2, 2023 · 0 comments
Open

Improve developer experience with html templates #568

Ranthalion opened this issue Jul 2, 2023 · 0 comments

Comments

@Ranthalion
Copy link
Contributor

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.

@Ranthalion Ranthalion changed the title Improve web developer experience with templates Improve developer experience with html templates Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant