Why Nostr? What is Njump?
2024-06-09 20:42:28

Andros Fenollosa on Nostr: I've been testing using #FastAPI to build sites with an HTML over WebSockets ...

I've been testing using #FastAPI to build sites with an HTML over WebSockets approach.
Good things:
- Easy to deploy WebSockets server.
- No borders for calling external functions.
Cons:
- It is not possible to create contexts or rooms.
- I have not found a way to launch broadcasting (I suspect it is not documented).
- You need an external library for topics such as validating forms or having a template engine.
In conclusion, I find #Django with Channels more complete and versatile.
#python
Author Public Key
npub12yygmfe8rx5jhr0e0hplgkxu82uru5w3yfptsddamecs7zxhddvsx0rwl8