#djangoliveview — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #djangoliveview, aggregated by home.social.
-
«HTML over WebSockets: real-time SPAs with barely any JavaScript»
Building a SPA usually means a JS framework, a JSON API, and two codebases forced to agree on a contract; there is another way that skips all three, and it is not new.
https://en.andros.dev/blog/ef4968f5/html-over-websockets-real-time-spas-with-barely-any-javascript/
#Web #JavaScript #Python #Django #WebSockets #DjangoLiveView -
«HTML over WebSockets: real-time SPAs with barely any JavaScript»
Building a SPA usually means a JS framework, a JSON API, and two codebases forced to agree on a contract; there is another way that skips all three, and it is not new.
https://en.andros.dev/blog/ef4968f5/html-over-websockets-real-time-spas-with-barely-any-javascript/
#Web #JavaScript #Python #Django #WebSockets #DjangoLiveView -
«I added a real-time chat to my blog, people used it to attack me»
It was meant to be a tiny ornament: a little widget showing who's reading right now, with a message box that disappears after a few seconds. Then it hit Hacker News, and people used it to discredit me and try to get an article censored.
https://en.andros.dev/blog/b6c32a90/i-added-a-real-time-chat-to-my-blog-people-used-it-to-attack-me/
#Django #WebSockets #DjangoLiveview -
«I added a real-time chat to my blog, people used it to attack me»
It was meant to be a tiny ornament: a little widget showing who's reading right now, with a message box that disappears after a few seconds. Then it hit Hacker News, and people used it to discredit me and try to get an article censored.
https://en.andros.dev/blog/b6c32a90/i-added-a-real-time-chat-to-my-blog-people-used-it-to-attack-me/
#Django #WebSockets #DjangoLiveview -
Django LiveView vs Phoenix LiveView: a real benchmark
https://en.andros.dev/blog/80134668/django-liveview-vs-phoenix-liveview-a-real-benchmark/
#django #liveview #djangoliveview #phoenix #python -
Django LiveView vs Phoenix LiveView: a real benchmark
https://en.andros.dev/blog/80134668/django-liveview-vs-phoenix-liveview-a-real-benchmark/
#django #liveview #djangoliveview #phoenix #python -
I'm sharing my self-hosted personal finance app that I use to manage my budget every month.
It follows the Japanese Kakebo method: track expenses, set savings goals, reflect on your spending habits.
What it does:
- Daily expense tracking by category
- Weekly and monthly breakdowns
- Income, fixed expenses, budget calculator
- Monthly goals, promises, and self-assessment
- Yearly charts with category evolution
- Planned future expenses
- CSV export and REST API
- Mobile-first, real-time updates
Tech stack: Django, Django LiveView, SQLite, DaisyUI, Docker.
https://git.andros.dev/andros/kakebo
#kakebo #django #djangoliveview #opensource #selfhosted -
I'm sharing my self-hosted personal finance app that I use to manage my budget every month.
It follows the Japanese Kakebo method: track expenses, set savings goals, reflect on your spending habits.
What it does:
- Daily expense tracking by category
- Weekly and monthly breakdowns
- Income, fixed expenses, budget calculator
- Monthly goals, promises, and self-assessment
- Yearly charts with category evolution
- Planned future expenses
- CSV export and REST API
- Mobile-first, real-time updates
Tech stack: Django, Django LiveView, SQLite, DaisyUI, Docker.
https://git.andros.dev/andros/kakebo
#kakebo #django #djangoliveview #opensource #selfhosted -
Fine! After getting 12k visits in less than a day with the article https://en.andros.dev/blog/aa31d744/from-zero-to-a-rag-system-successes-and-failures/ , with 100 comments on Hacker News (and 1 on my website), here is a technical summary of the first few hours:
- Nginx cache solved the 99% of the problems (/media/ , /static/ and HTML render).
- ASGI, with a WebSocket server, worked fine.
- Django performed 100% well
- Django LiveView, with 130 parallel users, worked... surprisingly well. I'm surprised myself!
My server has specifications similar to a Raspbery Pi 4. Don't overthink it: Django + Nginx + Cache -> It is easy to develop and performs well.
#django #python #nginx #djangoliveview -
Fine! After getting 12k visits in less than a day with the article https://en.andros.dev/blog/aa31d744/from-zero-to-a-rag-system-successes-and-failures/ , with 100 comments on Hacker News (and 1 on my website), here is a technical summary of the first few hours:
- Nginx cache solved the 99% of the problems (/media/ , /static/ and HTML render).
- ASGI, with a WebSocket server, worked fine.
- Django performed 100% well
- Django LiveView, with 130 parallel users, worked... surprisingly well. I'm surprised myself!
My server has specifications similar to a Raspbery Pi 4. Don't overthink it: Django + Nginx + Cache -> It is easy to develop and performs well.
#django #python #nginx #djangoliveview -
Mi web ahora es ~2.8x más rápida al convertirla en SPA gracias a Django LiveView
https://andros.dev/blog/0b307aa9/mi-web-ahora-es-28x-mas-rapida-al-convertirla-en-spa-gracias-a-django-liveview/
#web #python #django #djangoliveview -
Mi web ahora es ~2.8x más rápida al convertirla en SPA gracias a Django LiveView
https://andros.dev/blog/0b307aa9/mi-web-ahora-es-28x-mas-rapida-al-convertirla-en-spa-gracias-a-django-liveview/
#web #python #django #djangoliveview -
My website is now ~2.8x faster after converting it to a Django LiveView SPA
https://en.andros.dev/blog/dd5a0746/my-website-is-now-28x-faster-after-converting-it-to-a-django-liveview-spa/
#web #python #django #djangoliveview -
My website is now ~2.8x faster after converting it to a Django LiveView SPA
https://en.andros.dev/blog/dd5a0746/my-website-is-now-28x-faster-after-converting-it-to-a-django-liveview-spa/
#web #python #django #djangoliveview -
«De htmx a Django LiveView»
https://andros.dev/blog/785bf7ac/de-htmx-a-django-liveview/
Si usas htmx y estás evaluando Django LiveView, este artículo es para ti. Quiero enseñarte rápidamente las equivalencias de que sueles hacer con htmx y cómo lograrlo con Django LiveView. No es una comparación exhaustiva, sino una guía práctica para migrar o decidir cuál usar.
#htmx #python #django #djangoliveview #djangochannels #web -
«De htmx a Django LiveView»
https://andros.dev/blog/785bf7ac/de-htmx-a-django-liveview/
Si usas htmx y estás evaluando Django LiveView, este artículo es para ti. Quiero enseñarte rápidamente las equivalencias de que sueles hacer con htmx y cómo lograrlo con Django LiveView. No es una comparación exhaustiva, sino una guía práctica para migrar o decidir cuál usar.
#htmx #python #django #djangoliveview #djangochannels #web -
«From htmx to Django LiveView»
https://en.andros.dev/blog/94d14a9e/from-htmx-to-django-liveview/
If you're using htmx and evaluating Django LiveView, this article is for you. I want to quickly show you the equivalences of what you usually do with htmx and how to achieve it with Django LiveView. It's not an exhaustive comparison, but a practical guide to migrate or decide which one to use.
#htmx #python #django #djangoliveview #djangochannels #web -
«From htmx to Django LiveView»
https://en.andros.dev/blog/94d14a9e/from-htmx-to-django-liveview/
If you're using htmx and evaluating Django LiveView, this article is for you. I want to quickly show you the equivalences of what you usually do with htmx and how to achieve it with Django LiveView. It's not an exhaustive comparison, but a practical guide to migrate or decide which one to use.
#htmx #python #django #djangoliveview #djangochannels #web -
I created a game engine for Django?
https://en.andros.dev/blog/6e9e4485/i-created-a-game-engine-for-django/
TL;DR: Complete multiplayer game in the browser made of 270 lines of Python and 0 lines of JavaScript running on Django thanks to Django LiveView.
#python #django #djangoliveview -
I created a game engine for Django?
https://en.andros.dev/blog/6e9e4485/i-created-a-game-engine-for-django/
TL;DR: Complete multiplayer game in the browser made of 270 lines of Python and 0 lines of JavaScript running on Django thanks to Django LiveView.
#python #django #djangoliveview -
Django Interactive Frameworks Benchmark: Django LiveView (WebSocket), traditional SSR, HTMX (AJAX), and Django Unicorn (reactive components)
https://github.com/tanrax/django-interactive-frameworks-benchmark
#django #python #htmx #djangoliveview #djangounicorn -
Django Interactive Frameworks Benchmark: Django LiveView (WebSocket), traditional SSR, HTMX (AJAX), and Django Unicorn (reactive components)
https://github.com/tanrax/django-interactive-frameworks-benchmark
#django #python #htmx #djangoliveview #djangounicorn -
I've uploaded a demo of the new version of Django LiveView:
https://django-liveview-demo.andros.dev/
I've also updated the Quick Start:
https://django-liveview.andros.dev/quick-start/
It's now super easy!
I even use it on my own personal website for any dynamic elements.
I hope it helps you with your future projects!
#python #django #djangoliveview #liveview -
I've uploaded a demo of the new version of Django LiveView:
https://django-liveview-demo.andros.dev/
I've also updated the Quick Start:
https://django-liveview.andros.dev/quick-start/
It's now super easy!
I even use it on my own personal website for any dynamic elements.
I hope it helps you with your future projects!
#python #django #djangoliveview #liveview -
Gracias a @pycones por dejarme presentar mi framework.
Prometo a todos los interesados en colaborar que me pondré en contacto cuando llegue a casa (montaré un Trello con todas las tareas 😂).
#pycones23 #python #django #djangoliveview -
Gracias a @pycones por dejarme presentar mi framework.
Prometo a todos los interesados en colaborar que me pondré en contacto cuando llegue a casa (montaré un Trello con todas las tareas 😂).
#pycones23 #python #django #djangoliveview