Elektrine lite

← Feed

@hynek@mastodon.social

Post #1360923

2025-08-07 04:46 UTC

@ubernostrum i’m not the only one who gets extremely annoyed when mechanics for growing projects from an attractive nuisance demo to realistic applications looks extremely tacked on 🥲

Replies (2)

  • @hynek Flask I can forgive due to its origin as something that wasn't intended to turn into a big widely-used project. But I have some questions for anyone starting a *new* framework with the bound-decorator routing approach here in the 2020s...

    Open ##1360924

  • @davidism@mas.to 2025-08-07 13:57

    @hynek @ubernostrum to be fair, you can use the same pattern in Flask/Quart that you like about Litestar, defining the view/lifecycle functions then importing them and registering them with one or more app and router (blueprint) later. Litestar makes that the main way to do things, and offers a nicer way to bulk register them. A Flask app can be structured that way as well, you don't _have_ to use the bound decorators.

    Open ##1360926