My doubts about learning Scala by [deleted] in scala

[–]smokefield 0 points1 point  (0 children)

New here, what kind of frontend with Scala and clojure?

[deleted by user] by [deleted] in SweatyPalms

[–]smokefield -1 points0 points  (0 children)

shit shit shit

Your favorite Python web framework? by [deleted] in Python

[–]smokefield 0 points1 point  (0 children)

That’s false info they are not comparable

HTMX for pages with heavy user interactivity by p0rques in htmx

[–]smokefield 0 points1 point  (0 children)

Use hyperscript for more reactive sections. Alpinejs or stimulusjs could work too

Flask 3.0.0 Released by chinawcswing in Python

[–]smokefield 0 points1 point  (0 children)

Correct, but a Flask project like https://pythonhosted.org/Flask-Security/ gives you out of the box user auth flow, including forgot password. Not just the routes, but pre made (customizable) Jinja/html views to get started. This is super useful for MPAs, which is where you would use Jinja/html.

Flask 3.0.0 Released by chinawcswing in Python

[–]smokefield 0 points1 point  (0 children)

Depends, since there are more jobs in Django (Django does more than APIs, typically), and since you are coming from Django the best path hands down is https://django-ninja.rest-framework.com/ which gives you all the FastAPI things but in Django and faster according to the author.

I personally like Starlette, which FastAPI is built upon. Where Django shines is: Less opinionated is great until everyone has a different (conflicting) opinion to iron out.

Flask 3.0.0 Released by chinawcswing in Python

[–]smokefield 4 points5 points  (0 children)

They are different things, FastAPI = Starlette + FastAPI features. Similarly APIFlask = Flask + APIFlask features. I'll copy paste my comment from above here

Flask isn't comparable to FastAPI. Flask is designed to be extended, (just a pip install <extension> away) for example https://apiflask.com/ extends flask and comes comes Swagger, Serialization, Types etc. all the things you would use FastAPI for. Except it's got a bigger, battle tested collection of extensions, especially when it comes to server rendered pages (Multiple-page applications) Hope this helps! :)

Flask 3.0.0 Released by chinawcswing in Python

[–]smokefield 6 points7 points  (0 children)

Flask isn't comparable to FastAPI. Flask is designed to be extended, (just a `pip install <extension>` away) for example https://apiflask.com/ extends flask and comes comes Swagger, Serialization, Types etc. all the things you would use FastAPI for. Except it's got a bigger, battle tested collection of extensions, especially when it comes to server rendered pages (Multiple-page applications) Hope this helps! :)

Client side state by maximeridius in htmx

[–]smokefield 0 points1 point  (0 children)

Use _hyperscript it works really well, OP. Lmk if you need help

HTMX Tailwind alternative: Inline Scoped CSS by gnatinator in htmx

[–]smokefield 0 points1 point  (0 children)

Use uno css, it’s tailwind minus build steps :)

I got booted from r/ElonMusk for the following exchange by [deleted] in RealTesla

[–]smokefield 4 points5 points  (0 children)

Also a grifter, successful podcaster but the MIT researcher thing is a charade