mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.7K
active users

#htmx

2 posts2 participants0 posts today
James Walters :linux: :python:<p>Always use a proofreader.</p><p><a href="https://fosstodon.org/tags/html" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>html</span></a> <a href="https://fosstodon.org/tags/htmx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>htmx</span></a> <a href="https://fosstodon.org/tags/hypertext" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hypertext</span></a> <a href="https://fosstodon.org/tags/react" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>react</span></a></p>
Saurabh Kumar<p>Ever clicked something in your Django+HTMX app and got a login form crammed into a table cell? Yeah, me too.</p><p>Here's the simple fix I came up with: </p><p><a href="https://saurabh-kumar.com/articles/2025/05/handling-django-authentication-redirects-in-htmx-applications/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">saurabh-kumar.com/articles/202</span><span class="invisible">5/05/handling-django-authentication-redirects-in-htmx-applications/</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/Django" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Django</span></a> <a href="https://mastodon.social/tags/HTMX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTMX</span></a></p>
Scott Galloway<p>New blog article. A whistle-stop tour of HTMX extensions and HTMX integration with ASP.NET Core. <br><a href="https://www.mostlylucid.net/blog/htmxandaspnetcore" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">mostlylucid.net/blog/htmxandas</span><span class="invisible">pnetcore</span></a><br><a href="https://hachyderm.io/tags/aspnetcore" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>aspnetcore</span></a> <a href="https://hachyderm.io/tags/htmx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>htmx</span></a></p>
Symfony Station 🇺🇦🇨🇦🇬🇱<p>Symfony 7 + htmx: Next-Level Interactions. <a href="https://drupal.community/tags/symfony" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>symfony</span></a> <a href="https://drupal.community/tags/HTMX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTMX</span></a><br><a href="https://medium.com/@laurentmn/htmxsymfony-7-htmx-next-level-interactions-1ec669a517ca" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">medium.com/@laurentmn/htmxsymf</span><span class="invisible">ony-7-htmx-next-level-interactions-1ec669a517ca</span></a></p>
small circle 🕊 in calmness<p><span class="h-card" translate="no"><a href="https://toot.risottobias.org/@risottobias" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>risottobias</span></a></span> </p><p>What may be interesting is to look at <a href="https://data-star.dev" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">data-star.dev</span><span class="invisible"></span></a>, a <a href="https://social.coop/tags/hypermedia" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hypermedia</span></a> library (that blows <a href="https://social.coop/tags/htmx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>htmx</span></a> out of the water), with a back-end in <a href="https://social.coop/tags/golang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>golang</span></a> that can potentially replace an entire typical Rube Goldberg front-end stack, depending on the use case.</p><p>The maintainers have very interesting talks on YT to highlight the innovative approach, which involve <a href="https://social.coop/tags/SSE" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSE</span></a>. The maintainer uses a bootstrap that by default has <a href="https://social.coop/tags/SQLite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SQLite</span></a> (and <a href="https://social.coop/tags/NATS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NATS</span></a>, which 😬 recently announced relicensing to <a href="https://social.coop/tags/BUSL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BUSL</span></a>).</p>
Replied to Valentin B. :ferris:

@beeb Well. Server side rendering #HTML has been the default for major projects for a long time, and although every approach has its drawbacks, I cannot get the excitement for JavaScript frameworks that struggle to achieve what you can with templating in the backend. #JavaScript is a blight on the web and I applaud #HTMX for trying to get it out of the way. Why would you want to use JavaScript and JSON to generate HTML when you can just receive HTML?

I really don't understand the enthusiasm around #htmx. Why would anyone want to put html and css classes in their backend code? It probably works for tiny projects but can you imagine a large company doing that? Oh the frontend team needs this button bigger? Better ask the backend team to change their API! That kind of coupling seems very unergonomic. Just my two cents... #webdev #html #backend

Replied in thread

@poppacalypse it extends html with additional html tags (like hx-post and hx-target) that will let the htmx Javascript library know you want to do a certain POST request. And the response should be loaded in the specifiek target (eg. A div box by id).

So any element can therefor trigger a http request. And any kind of element within the same html page can be used as a target to update that section. Instead of updating the whole document/page.

I hope this is clear?