FAQ

Q. Why using swole ? Why not streamlit ?

Don’t get me wrong, streamlit is an awesome framework. swole just try to fix a few problematic issues of streamlit :

  • It uses Flask, which is outdated and not performant when compared to FastAPI
  • No customization possible
  • No control over user’s interaction with the page
  • Not transparent
  • No Doge 😢

Q. How Swole’s backend and frontend communicate ?

Unlike streamlit, which use a system of cache and reload the page everytime someone interact with it, swole uses AJAX requests to update the frontend.

Reloading the page every interaction is very inefficient, and irritating for the user’s experience.

Using AJAX instead makes the whole process almost invisible for the user, and everything is more clear for the developper, because we know what data is sent when.

Q. Why do you say Swole is transparent but Streamlit is opaque ?

On a swole page, try to “view the page source” (right-click).
Now do the same on a streamlit page, and compare. 😇

Q. Why this name ?

It all comes from a meme :

../_images/meme.png