| Before anyone jumps in and says “because front end is built in JS” hear me out: - There are lots of web development frameworks in python: Pyscript, Anvil, Reflex, Atri, JustPy and many, many more - The docs or mini courses for these jump straight into “how to do a web thing that we already know but in Python” - No course out there teaches the basics of the web like fetching, async, dom manipulation with Python not even the PyScript stuff which has a mandate to teach people web. - I had to learn JS before i could understand the courses that teach the basic concepts of the web So HN, why is it this way? |
I believe a sensible approach, for some (including me), is:
1. Learn back-end web programming (HTTP request/response model, templating, sessions, security, the REST architectural model, ORM...) with your framework of choice (Django, Flask, Litestar, Sanic...). There are many tutorials and books around.
2. Learn HTMX (https://htmx.org/). A fine book is https://hypermedia.systems/ (it will also teach you the fundamental, framework-agnostic, principles of 1.)