Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
pvergain (framapiaf) boosted
Hacker News
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp 2 weeks ago

Htmx: High Power Tools for HTML

https://github.com/bigskysoftware/htmx

#HackerNews #Htmx #HtmxTools #HTML #Development #WebDevelopment #OpenSource

  • Copy link
  • Flag this post
  • Block
Hacker News
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp 2 weeks ago

Htmx: High Power Tools for HTML

https://github.com/bigskysoftware/htmx

#HackerNews #Htmx #HtmxTools #HTML #Development #WebDevelopment #OpenSource

  • Copy link
  • Flag this post
  • Block
Andreas Gohr
Andreas Gohr
@splitbrain@fedi.splitbrain.org  ·  activity timestamp 2 weeks ago

Am I being stupid or does HTMX not support this very simple use case?

on form submit:
1) clear the target area
2) show a loading indicator
3) trigger an ajax call
4) wait for the ajax call to return
5) hide the loading indicator
6) fill the target area

Ideally I would want the loading indicator IN the target area, but that would make it usable only once. Stupid, but I can live with it...

But what seems not to work is 1). It will show my indicator but not clear the target area.

It seems I have to write additional JS to get that behavior. Well then I can write the thing myself. So much for the promise of not having to write JavaScript for simple things.

#htmx #javascript

  • Copy link
  • Flag this post
  • Block
pvergain (framapiaf) boosted
andros
andros
@andros@activity.andros.dev  ·  activity timestamp 3 weeks ago

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

Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
GitHub

GitHub - tanrax/django-interactive-frameworks-benchmark: Performance comparison of Django's main interactive frameworks: LiveView, Reactor, django-htmx, Unicorn, and SSR.

Performance comparison of Django's main interactive frameworks: LiveView, Reactor, django-htmx, Unicorn, and SSR. - tanrax/django-interactive-frameworks-benchmark
  • Copy link
  • Flag this post
  • Block
andros
andros
@andros@activity.andros.dev  ·  activity timestamp 3 weeks ago

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

Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
GitHub

GitHub - tanrax/django-interactive-frameworks-benchmark: Performance comparison of Django's main interactive frameworks: LiveView, Reactor, django-htmx, Unicorn, and SSR.

Performance comparison of Django's main interactive frameworks: LiveView, Reactor, django-htmx, Unicorn, and SSR. - tanrax/django-interactive-frameworks-benchmark
  • Copy link
  • Flag this post
  • Block
Nizar Kerkeni 🇹🇳 نزار القرقني and 2 others boosted
Drupal
Drupal
@drupal@mastodon.social  ·  activity timestamp last month

Drupal 11.3 is here with the biggest performance boost in a decade. Serve 26-33% more requests with the same database load. 🚀

New native HTMX support enables rich UX with up to 71% less JavaScript. Plus, enjoy the new stable Navigation module, improved CKEditor content editing, native content export, and cleaner OOP hooks for themes.

🔗 Get all the details about Drupal 11.3.0 at https://www.drupal.org/blog/drupal-11-3-0

#Drupal #WebDev #Performance #HTMX

3 media
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Drupal.org

Drupal 11.3.0 is now available

The third feature release of Drupal 11 is here with the biggest performance boost in a decade. Serve 26-33% more requests with the same database load. New native HTMX support enables rich UX with up to 71% less JavaScript. Plus, enjoy the new stable Navigation module, improved CKEditor content editing, native content export, and cleaner OOP hooks for themes.
  • Copy link
  • Flag this post
  • Block
Hacker News
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp last month

Please Just Try Htmx

http://pleasejusttryhtmx.com/

#HackerNews #Htmx #HtmxTutorial #WebDevelopment #FrontendDevelopment #TryItOut

  • Copy link
  • Flag this post
  • Block
Sumana Harihareswara boosted
Sheena
Sheena
@sheena@fosstodon.org  ·  activity timestamp last month

If you have any new years resolutions that involve learning, then come learn with me 😊 I'm running some holiday specials! https://prelude.tech/upcoming_training

#django #htmx #alipinejs #airflow #tailwindcss #git #playwright

Decorative poster with the following information:

Give the gift of growth this festive season
Invest in your team's potential with sustainable, lasting learning 
25% off upcoming workshops while stocks last,  use the code GIFT25 

24+25 January
- Modern Frontend Development with Django, HTMX, Tailwind, Playwright and AlpineJS
- Understanding Django by Integrating AllAuth

14+15 February
- Apache Airflow: Basics to Advanced 
- Getting Git: A Beginner's Guide to Version Control and the Terminal
Decorative poster with the following information: Give the gift of growth this festive season Invest in your team's potential with sustainable, lasting learning 25% off upcoming workshops while stocks last, use the code GIFT25 24+25 January - Modern Frontend Development with Django, HTMX, Tailwind, Playwright and AlpineJS - Understanding Django by Integrating AllAuth 14+15 February - Apache Airflow: Basics to Advanced - Getting Git: A Beginner's Guide to Version Control and the Terminal
Decorative poster with the following information: Give the gift of growth this festive season Invest in your team's potential with sustainable, lasting learning 25% off upcoming workshops while stocks last, use the code GIFT25 24+25 January - Modern Frontend Development with Django, HTMX, Tailwind, Playwright and AlpineJS - Understanding Django by Integrating AllAuth 14+15 February - Apache Airflow: Basics to Advanced - Getting Git: A Beginner's Guide to Version Control and the Terminal

Prelude Tech

  • Copy link
  • Flag this post
  • Block
Drupal
Drupal
@drupal@mastodon.social  ·  activity timestamp last month

Drupal 11.3 is here with the biggest performance boost in a decade. Serve 26-33% more requests with the same database load. 🚀

New native HTMX support enables rich UX with up to 71% less JavaScript. Plus, enjoy the new stable Navigation module, improved CKEditor content editing, native content export, and cleaner OOP hooks for themes.

🔗 Get all the details about Drupal 11.3.0 at https://www.drupal.org/blog/drupal-11-3-0

#Drupal #WebDev #Performance #HTMX

3 media
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Drupal.org

Drupal 11.3.0 is now available

The third feature release of Drupal 11 is here with the biggest performance boost in a decade. Serve 26-33% more requests with the same database load. New native HTMX support enables rich UX with up to 71% less JavaScript. Plus, enjoy the new stable Navigation module, improved CKEditor content editing, native content export, and cleaner OOP hooks for themes.
  • Copy link
  • Flag this post
  • Block
Sheena
Sheena
@sheena@fosstodon.org  ·  activity timestamp last month

If you have any new years resolutions that involve learning, then come learn with me 😊 I'm running some holiday specials! https://prelude.tech/upcoming_training

#django #htmx #alipinejs #airflow #tailwindcss #git #playwright

Decorative poster with the following information:

Give the gift of growth this festive season
Invest in your team's potential with sustainable, lasting learning 
25% off upcoming workshops while stocks last,  use the code GIFT25 

24+25 January
- Modern Frontend Development with Django, HTMX, Tailwind, Playwright and AlpineJS
- Understanding Django by Integrating AllAuth

14+15 February
- Apache Airflow: Basics to Advanced 
- Getting Git: A Beginner's Guide to Version Control and the Terminal
Decorative poster with the following information: Give the gift of growth this festive season Invest in your team's potential with sustainable, lasting learning 25% off upcoming workshops while stocks last, use the code GIFT25 24+25 January - Modern Frontend Development with Django, HTMX, Tailwind, Playwright and AlpineJS - Understanding Django by Integrating AllAuth 14+15 February - Apache Airflow: Basics to Advanced - Getting Git: A Beginner's Guide to Version Control and the Terminal
Decorative poster with the following information: Give the gift of growth this festive season Invest in your team's potential with sustainable, lasting learning 25% off upcoming workshops while stocks last, use the code GIFT25 24+25 January - Modern Frontend Development with Django, HTMX, Tailwind, Playwright and AlpineJS - Understanding Django by Integrating AllAuth 14+15 February - Apache Airflow: Basics to Advanced - Getting Git: A Beginner's Guide to Version Control and the Terminal

Prelude Tech

  • Copy link
  • Flag this post
  • Block
Aral Balkan
Aral Balkan
@aral@mastodon.ar.al  ·  activity timestamp last month

🥳 New Kitten Release

https://kitten.small-web.org

You can now use the simple `on:` prefix instead of `hx-on:htmx:` to define inline event handlers for HTMX events¹.

Also, there are three new event shorthands for responding to your Kitten page’s connection lifecycle:

• on:connecting
• on:connect
• on:disconnect

(These expand during render to `hx-on:htmx:ws-connecting.window`, `hx-on:htmx:ws-open.window`, and `hx-on:htmx:ws-close.window`, respectively.)

These are useful when using Kitten’s Streaming HTML workflow.

Full change log:
https://codeberg.org/kitten/app/src/branch/main/CHANGELOG.md#2025-12-10

Enjoy!

:kitten:💕

¹ https://htmx.org/events/
² https://kitten.small-web.org/tutorials/streaming-html/

#Kitten #SmallWeb #peerToPeerWeb #web #dev #SmallTech #KittenRelease

Aral Balkan
Aral Balkan
@aral@mastodon.ar.al replied  ·  activity timestamp last month

Another quick release, this one adds Alpine.js support for shorthand event handlers.

Just add a `@` before your shorthand event handler names to have them expanded as inline Alpine.js event handlers.

e.g., `on:connect` → `@on:connect`

Enjoy!

:kitten:💕

#Kitten #AlpineJS #HTMX #SmallWeb #peerToPeerWeb #web #dev #JavaScript #nodeJS #SmallTech #KittenRelease

  • Copy link
  • Flag this comment
  • Block
Larry Garfield
Larry Garfield
@Crell@phpc.social  ·  activity timestamp last month

It's really depressing to see so many people and/or job ads talking about how they're using React so heavily for things that don't need React.

Why are we so committed to making things more complicated, and harder to learn, and having fewer skilled people?

And if you're talking about migrating JS frameworks on the front-end, at least *think* about HTMX/etc. for server-controlled rendering. Don't replace one bloat with another.

#React #Javascript #HTMX #HTML

  • Copy link
  • Flag this post
  • Block
pvergain (framapiaf) boosted
Txels :python:
Txels :python:
@txels@mastodont.cat  ·  activity timestamp 2 months ago

For the web projects I initiate, I'm settling into what I call the #mvjs framework (Minimum Viable JavaScript) - the least JS I can get away with.

This brings me to use a subset of:
- HTMX (only if I need partial page reload)
- alpinejs (only if I need some reactivity that only makes sense on the client side)
- vanilla javascript (for the rare cases I need to complemenf the former)

Thanks @carlton for helping me discover Alpine

#htmx #alpinejs

  • Copy link
  • Flag this post
  • Block
pvergain (framapiaf) boosted
andros
andros
@andros@activity.andros.dev  ·  activity timestamp 2 months ago

🚀 Django LiveView 2.0.0 is now available

I just released a major new version of Django LiveView, the framework that lets you build interactive, real-time web applications using only Python — no JavaScript required.

🎯 What is Django LiveView?

A radically simpler way to build dynamic interfaces with Django. Inspired by Phoenix LiveView and Laravel Livewire, it lets you create SPAs without APIs, without JavaScript frameworks, without splitting your logic between frontend and backend.

HTML over WebSockets — all interactivity works in real-time, logic lives in Python, and you use Django's template system.

🔧 Simplified configuration

pip install django-liveview

## 💪 What can you do with LiveView?

- ✅ Update the DOM in real-time without JavaScript
- ✅ Interactive forms with instant validation
- ✅ Infinite scroll and lazy loading
- ✅ Multi-user live notifications
- ✅ Real-time dashboards
- ✅ Search with instant results
- ✅ Everything with Python decorators and Django templates

📚 More information

https://github.com/Django-LiveView/liveview

If you're a Django developer and want to add real-time features without the complexity of a separate frontend, give LiveView a try.

#django #python #websockets #liveview #htmx

  • Copy link
  • Flag this post
  • Block
The Fulcrum/Symfony Station⚒️
The Fulcrum/Symfony Station⚒️
@SymfonyStation@drupal.community  ·  activity timestamp 2 months ago

Infinite scroll with HTMX in Drupal. #HTMX #drupal
https://dri.es/infinite-scroll-with-htmx

  • Copy link
  • Flag this post
  • Block
alcinnz boosted
Sergi
Sergi
@sergi@floss.social  ·  activity timestamp 2 months ago

jinja2-fragments now has proper #Starlette support: https://jinja2-fragments.readthedocs.io/latest/framework_integrations.html#starlette-integration

If you are using #htmx with Starlette, this might be of interest to you :)

#jinja #jinja2

  • Copy link
  • Flag this post
  • Block
Txels :python:
Txels :python:
@txels@mastodont.cat  ·  activity timestamp 2 months ago

For the web projects I initiate, I'm settling into what I call the #mvjs framework (Minimum Viable JavaScript) - the least JS I can get away with.

This brings me to use a subset of:
- HTMX (only if I need partial page reload)
- alpinejs (only if I need some reactivity that only makes sense on the client side)
- vanilla javascript (for the rare cases I need to complemenf the former)

Thanks @carlton for helping me discover Alpine

#htmx #alpinejs

  • Copy link
  • Flag this post
  • Block
Sergi
Sergi
@sergi@floss.social  ·  activity timestamp 2 months ago

jinja2-fragments now has proper #Starlette support: https://jinja2-fragments.readthedocs.io/latest/framework_integrations.html#starlette-integration

If you are using #htmx with Starlette, this might be of interest to you :)

#jinja #jinja2

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct