• @TCB13@lemmy.world
    link
    fedilink
    13 months ago

    And how do you plan to manage your posts, database etc. and render stuff in those? You still need some backend solution like Wordpress, you can use vue as a frontend library for it… or vanilla JS, or jQuery…

      • @TCB13@lemmy.world
        link
        fedilink
        English
        13 months ago

        So… you are aware that FastAPI and Flask will always be significantly slower than Wordpress… because Python, always running processes etc.?

        You’re building a simple website / blog just use Wordpress, it will output most of the pages into plan simple and fast HTML, then add a few pieces of vanilla JS or Vue (if you’re into that) to make things “fluffier”. Why bother with constant XHR requests when you’re just serving simple text pages?

        With Wordpress you’ll also get all the management, roles, permissions, backend for “free” and you can always, like sane people, cache the output of the most visited pages. Wordpress also provides a RESTful API if required.