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
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