Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Nizar Kerkeni 🇹🇳 نزار القرقني and 2 others boosted
Drupal
Drupal
@drupal@mastodon.social  ·  activity timestamp 2 weeks ago

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

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.
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
  • Copy link
  • Flag this post
  • Block
Hacker News
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp last week

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 2 weeks ago

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

Prelude Tech

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
  • Copy link
  • Flag this post
  • Block
Drupal
Drupal
@drupal@mastodon.social  ·  activity timestamp 2 weeks ago

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

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.
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
  • Copy link
  • Flag this post
  • Block
Sheena
Sheena
@sheena@fosstodon.org  ·  activity timestamp 2 weeks ago

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

Prelude Tech

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
  • Copy link
  • Flag this post
  • Block
Aral Balkan
Aral Balkan
@aral@mastodon.ar.al  ·  activity timestamp 2 weeks ago

🥳 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 2 weeks ago

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 3 weeks ago

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

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

🚀 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 last month

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

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

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

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
andros
andros
@andros@activity.andros.dev  ·  activity timestamp last month

🚀 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
⁂ Kaleb
⁂ Kaleb
@kaleb@fedi.haugenh.us  ·  activity timestamp last month

Looking for some help with interaction issues between NGINX, HTMX, and GoToSocial.

The issue


My GET request from my website HaugenHus | Now Test

 hx-get="https://fedi.haugenh.us/@kaleb/feed.rss"
hx-headers='{"Accept": "application/feed+json"}'

…is returning two basic CORS errors:

  • [Error] Request header field HX-Request is not allowed by Access-Control-Allow-Headers.
  • [Error] XMLHttpRequest cannot load https://fedi.haugenh.us/@kaleb/feed.rss due to access control checks.

…that I can’t figure out how to resolve.

Things I’ve tried


I ’ve added

add_header 'Access-Control-Allow-Origin' 'https://fedi.haugenh.us';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization, Accept, HX-Request';

to my nginx.conf (actually I’ve imported it from another .conf and verified that the config is being included with nginx -T), but it has no impact on the errors.

I have confirmed that the page loads successfully including the remote JSON when I set my browser to ignore CORS.

Additionally, I am able to successfully load the remote feed.rss when I use the hx-request='{"noHeaders": true}’, but doing so returns XML rather than the desired JSON due the JSON Feed implementation in GoToSocial RSS

#GTS #GoToSocial #nginx #CORS #JSONFeeds #HTMX

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

Local First Htmx

https://elijahm.com/posts/local_first_htmx/

#HackerNews #LocalFirst #Htmx #HtmxFramework #WebDevelopment #TechNews

Local First HTMX

Overview Part 2 is now ready There is a common refrain on the internet that things have gotten worse and are continuing to get worse. There is a proliferation of horrible jumpy loading ads on every website, every search engine throws a crappy AI summary in front of your search result, every site/webapp seems to have gotten slower and slower. I cannot provide a solution for all of that, but I can point to a better paradigm for web site and web app design.
  • Copy link
  • Flag this post
  • Block
Mario Munoz
Mario Munoz
@pythonbynight@hachyderm.io  ·  activity timestamp 2 months ago

TIL htmx is is coming out with version 4. Some updates will include out-of-the-box streaming response and SSE support, among other things...

https://pythonbynight.com/til/htmx-40-is-coming

#htmx

TIL: htmx 4.0 is coming

Today I learned: htmx 4.0 is coming
  • Copy link
  • Flag this post
  • Block
Brian :cupofcoffee: :rss: boosted
Adam Johnson :django: :python:
Adam Johnson :django: :python:
@adamchainz@fosstodon.org  ·  activity timestamp 2 months ago

#htmx v4 is in alpha: https://htmx.org/essays/the-fetchening/

htmx ~ The fetch()ening

You know, technically, I never said anything about a version *four*
  • 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-alpha.40 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct