Migrate to Flask/Jinja2 #11

Open
opened 2026-10-23 23:12:18 +00:00 by lichenblankie · 0 comments

Tinyweb uses pure Python and would benefit to use Flask and Jinja2 for the long-term development of the project.

Flask

  • Easier testing
  • Offload http setup
  • Easier route handling
  • Centralize errors

Jinja2

  • Handles the templating of html pages
  • Structures and organizes source python files
  • Simplifies the codebase to be more readable
Tinyweb uses pure Python and would benefit to use Flask and Jinja2 for the long-term development of the project. Flask - Easier testing - Offload http setup - Easier route handling - Centralize errors Jinja2 - Handles the templating of html pages - Structures and organizes source python files - Simplifies the codebase to be more readable
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lichenblankie/tinyweb#11
No description provided.