demo-HTML-over-WebSockets-i.../README.md
2021-06-15 23:10:19 +02:00

1.1 KiB

Demo: HTML over WebSockets in Django

Demonstration of how to build a real time application using HTML over WebSockets in Django

demo

Broadcast

demo v2

Article that inspired

https://alistapart.com/article/the-future-of-web-software-is-html-over-websockets/

Explanation

Spanish

https://programadorwebvalencia.com/html-sobre-websockets/

https://www.youtube.com/watch?v=02IjScPlDH0

English

https://testdriven.io/blog/html-over-websockets/

Run demo

docker-compose -f docker-compose.dev.yaml up -d

Open

my-demo.localhost

Load fake data

docker exec -it demo-html-over-websockets-in-django_django_1 python3 manage.py loaddata comments.json

Interesting projects using this technique

Thanks @jbjuin

Integrated with Django

Without Django:

  • idom: HTML is generated using a Python syntax.