Zearin, to 11ty
@Zearin@mastodon.social avatar

@zachleat Suppose I wanted to run using its own dev server, but I also wanted to tinker with (https://htmx.org) to learn about it.

Q1: Is this possible now?

Q2: Will this be possible in the not-too-distant future?

nhoizey, to react French
@nhoizey@mamot.fr avatar

“React, Solid, htmx” by Bobae Kang

🔗 https://bobaekang.com/blog/react-solid-htmx/

> [HTMX] can get you 80% there with radically less complexity. No extra dependencies, no build step, no advanced tooling (now re-written in Rust!), no complicated state management, no “double data” problem, no hydration mismatch… Just write your HTTP server and return HTML!

⚓️ https://nicolas-hoizey.com/links/2024/04/17/react-solid-htmx/

jitterted, to Java
@jitterted@sfba.social avatar

🚨 Alert 🚨

Working solo on some final Ensemble Timer features using and a bit of .

Join me now on Twitch at https://jitterted.stream

jitterted,
@jitterted@sfba.social avatar

Finished the "Reset Timer" feature as well as adding sounds for "Pause" and "Resume" (that way you can hear when the timer is paused without having to look at it all the time).

With the help of a viewer, was able to DELETE the kludgey JavaScript code and let handle all of the work of playing audio. Sending an <audio> element over the WebSocket with autoplay worked as desired!

ntha, to php
@ntha@mastodon.social avatar

Modern React.js with Vite is really nice, with out of the box TypeScript support and all, but by far my favourite text stack is most likely with . It's the simplicity that gets me.

carlton, (edited ) to django
@carlton@fosstodon.org avatar

Some nice feedback on django-template-partials on the hellsite.

Translated from the French:

> A package that helps me organize my templates in my and projects is django-template-partials from @carlton. This is the library that has had the most influence on my code in a long time.

That's what we were hoping for. 🥰

https://github.com/carltongibson/django-template-partials

cwoodruff, to random
@cwoodruff@mastodon.social avatar

Doing a talk at lunch today covering how to improve with . I have to give this talk a few times in 2024 at conferences, so it's a great way to improve the content before then. Wish me luck!

egil, to blazor
@egil@mastodon.social avatar

Usssh, now I’ve done it. I actually have to talk about htmx and blazor next monday. So I need all you folks help, what are the libraries you are using? What are the good and bad things about that combo?

https://www.youtube.com/live/-Mc9pROA0Ho?si=mpxSGkSTVV2MJT5_

Pinging @khalidabuhakmeh and my and friends!

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@brtkdotse @egil This might be controversial, but here are my thoughts on why you technically may want to use and together and why you wouldn't.

I have social reasons why you may want to prefer one over the other, too. But that's more opinion ;)

https://gist.github.com/khalidabuhakmeh/84beff0adf2d49092a9a7769207d4084

jitterted, to random
@jitterted@sfba.social avatar

Using in my apps has let me turn the "no logic in HTML templates" all the way up to 11.

I am now very aware (and suspicious) of any logic being evaluated, or even things like string concatenation, being done in HTML templates.

I may have to write a tool to warn me (or fail a test!) if I start using th:if, th:unless, or anything that looks like a method call in my Thymeleaf templates.

art_codesmith, to javascript
@art_codesmith@toot.cafe avatar

After a bit of playing with #FastAPI, I feel like it's really, well, API-oriented. You can have templating of course, but it's just a liiiittle clumsier than returning JSON (e. g., you need to manually inject the request into it).

So I'm not entirely sure if I should stick to my original plan of mostly rendering HTML and using #htmx, or if I should go with the framework flow and make a #Vue app. Probably the latter TBH.

#webdevelopment #python

nhoizey, to react French
@nhoizey@mamot.fr avatar
czue, to django
@czue@mastodon.social avatar

I just published a new article!

It's a 4,000-word guide using websockets in Django that contains everything I wished existed when I set out to about them.

I use channels and htmx to build an async ChatGPT clone with streaming and memory.

https://www.saaspegasus.com/guides/django-websockets-chatgpt-channels-htmx/

bkuhlmann, to random
@bkuhlmann@mastodon.social avatar

This is a good talk on by Martijn Dashorst if you need more examples/exposure. Plucked one of my favorite slides from the talk below (make sure to follow the slide link as well -- so great -- to Roy Fielding's original talk).

https://www.slideshare.net/dashorst/htmx-web-10-with-the-benefits-of-web-20-without-the-grift-of-web-30

cwoodruff, to random
@cwoodruff@mastodon.social avatar

I have 2 days to do whatever I want. I can't remember when that happened last. Three things I want to do:

  1. Write chapter 5 of the networking book on multithreaded C#
  2. Finish the demo
  3. Plan a new event for next year.
khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

If you're curious about and and how they can work together, check out this sample using Hx-Trigger to trigger other elements to update from a single request.

This is nice if you have global shared state like a shopping cart, score, etc.

https://github.com/khalidabuhakmeh/HxTriggerSample

khalidabuhakmeh, (edited ) to javascript
@khalidabuhakmeh@mastodon.social avatar

Big shout out to @alexzeitler for writing this blog post on and .

It's pretty amazing how little code (and no ) it takes to create a like counter experience. All with HTML and some C# code.

https://alexanderzeitler.com/articles/listening-to-htmx-hx-trigger-response-header-events-from-alpine-js/

Updated with sample: https://github.com/khalidabuhakmeh/HxTriggerSample

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Look at all that #htmx in the #aspnetcore and #dotnet ecosystem. That's pretty cool.

ewen, to python French
@ewen@mastodon.fedi.bzh avatar
khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Yes! #htmx #dotnet #aspnetcore https://endjin.com/blog/2024/04/aspnet-core-razor-htmx-chartjs

Cool post by @HowardvRooijen. Probably could use the HTMX.NET to make it even sweeter.

pvergain, to django French
@pvergain@framapiaf.org avatar

An awesome list of resources about htmx such as articles, posts, videos, talks and more.

Hoping to keep this list updated as much as possible, any new links through PRs are appreciated.

decentral1se, to random
@decentral1se@varia.zone avatar

anyone using and have a take on it? seems pretty cool tbh after a surface level browse https://htmx.org

aral,
@aral@mastodon.ar.al avatar

@decentral1se 👍

PS. Kitten has first-class support for it and it makes Kitten’s Streaming HTML workflow possible:

https://ar.al/2024/03/08/streaming-html/

pkw, to random
@pkw@mastodon.sdf.org avatar

I made an update to the app that allows you to see the description rendered as markdown.

(I've been using markdown the whole time intending to do this.)

There's a button "View Markdown" that swap the textarea with rendered markdown (html).

And then I just re-use the "Reset Post" button to go back.

I did this with which I haven't used before. I don't love it.
I don't hate it. I definitely could have just used axios (or fetch) and some javascript glue.

https://clue.d34d.net/

djangobrew, to random
@djangobrew@fosstodon.org avatar

Grab a cuppa coffee and join us for our official DjangoCon US 2023 recap! :django: ☕️

Check out Episode 1: Fried-green introverts at https://djangobrew.com/episodes/14650534-episode-1-fried-green-introverts

We discuss all things DjangoCon US 2023, our new favorite Southern delicacy, tech conference tips, and just how much coffee is too much (hint: the limit does not exist 😉)!

Subscribe wherever you get your podcasts, check out https://djangobrew.com for show notes, and follow us here for updates.

djangobrew,
@djangobrew@fosstodon.org avatar

In https://djangobrew.com/episodes/14650534-episode-1-fried-green-introverts we discuss a few of our favorite conference talks and topics from #DjangoCon2023:

However, there were a ton of great talks and the videos are available for all of them! 📺 https://www.youtube.com/playlist?list=PL2NFhrDSOxgX41jqYSi0HmO9Wsf6WDSmf

#Django #Python #podcasts #DjangoCon

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines