veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

202
active users

#htmx

7 posts7 participants1 post today
Golang Weekly<p>Go + HTMX starter kit</p><p><a href="https://github.com/carsonkrueger/go-htmx-starter" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/carsonkrueger/go-ht</span><span class="invisible">mx-starter</span></a></p><p>Discussions: <a href="https://discu.eu/q/https://github.com/carsonkrueger/go-htmx-starter" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discu.eu/q/https://github.com/</span><span class="invisible">carsonkrueger/go-htmx-starter</span></a></p><p><a href="https://mastodon.social/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a> <a href="https://mastodon.social/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> <a href="https://mastodon.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a></p>
Kerfuffle<p><span class="h-card" translate="no"><a href="https://hachyderm.io/@beeb" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>beeb</span></a></span> Well. Server side rendering <a href="https://mastodon.online/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> 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. <a href="https://mastodon.online/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> is a blight on the web and I applaud <a href="https://mastodon.online/tags/HTMX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTMX</span></a> 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?</p>
Valentin B. :ferris:<p>I really don't understand the enthusiasm around <a href="https://hachyderm.io/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a>. 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... <a href="https://hachyderm.io/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://hachyderm.io/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://hachyderm.io/tags/backend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>backend</span></a></p>
phildini<p>Because I do a fair amount of frontend work but think most frontend frameworks are overkill, I use <a href="https://wandering.shop/tags/HTMX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTMX</span></a> and <a href="https://wandering.shop/tags/alpinejs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>alpinejs</span></a> a lot. And <span class="h-card" translate="no"><a href="https://mastodon.social/@glyph" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>glyph</span></a></span>'s <a href="https://wandering.shop/tags/NBPy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NBPy</span></a> talk made me think about what a <a href="https://wandering.shop/tags/PyScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyScript</span></a> package that combines both and provides <a href="https://wandering.shop/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> handles to both would look like.</p><p>What could I build if I had a drop-in <a href="https://wandering.shop/tags/django" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>django</span></a> package that gave me all the interaction I wanted while writing python code?</p>
Sheena<p>I have been working towards a <a href="https://fosstodon.org/tags/Django" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Django</span></a> starter template that solves a lot of my problems. Figured I would share ;) </p><p>This template focuses on the frontend and includes things like <a href="https://fosstodon.org/tags/HTMX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTMX</span></a> <a href="https://fosstodon.org/tags/DjangoChannels" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DjangoChannels</span></a> <a href="https://fosstodon.org/tags/Playwright" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Playwright</span></a> and a few more of my favorite tools. </p><p><a href="https://github.com/preludetech/Django-Starter-Template" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/preludetech/Django-</span><span class="invisible">Starter-Template</span></a></p>
Thibaud Colas :django:<p>Great question by <span class="h-card" translate="no"><a href="https://framapiaf.org/@tut_tuuut" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>tut_tuuut</span></a></span> at <a href="https://fosstodon.org/tags/DjangoConEurope" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DjangoConEurope</span></a> about <a href="https://fosstodon.org/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> and CSP. We’ve spent lots of time with <span class="h-card" translate="no"><a href="https://fosstodon.org/@wagtail" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>wagtail</span></a></span> working on CSP compatibility. Had to rule out Alpine.js altogether. htmx with concessions</p>
Scott Galloway<p>New blog post:<br>An Auto-Update Partial Updater with Alpine.js and HTMX<br>How I built a simple update control which uses HTMX and Alpine to call to an ASP.NET Core action to update an element at regular intervals. <br><a href="https://www.mostlylucid.net/blog/autorefreshwithalpineandhtmx" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">mostlylucid.net/blog/autorefre</span><span class="invisible">shwithalpineandhtmx</span></a><br><a href="https://hachyderm.io/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> <a href="https://hachyderm.io/tags/AlpineJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AlpineJS</span></a> <a href="https://hachyderm.io/tags/aspnetcore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>aspnetcore</span></a></p>
Late Night Owl<p>Thinking of creating a GUI application that would use <a href="https://social.linux.pizza/tags/HTMX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTMX</span></a> to draw its content (I kind of want to learn HTMX).</p><p>- HTTP server running on user's UNIX socket, in Go (?), and<br>- WebKit (?) window that would draw/interact with the content.</p><p>Am I crazy? Is there a better way to do this? I have to admit I'm very confused by (the lack of) Gtk/Adwaita documentation for total noobs.</p>
Aral Balkan<p>New Kitten release 🎉</p><p><a href="https://kitten.small-web.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">kitten.small-web.org</span><span class="invisible"></span></a></p><p>• New: Lovely new icons¹ and new callouts in Kitten Settings²</p><p>• New: Markdown now supports attributes and bracketed spans³</p><p>• New: client-side `kitten` global with `trigger` function for triggering events on the server from the client. (Useful when streaming client-side JavaScript when using Kitten’s Streaming HTML⁴ workflow. e.g., when you have to use a client-only web API like the Clipboard API but you want to keep all your logic on your server-side page.⁵)</p><p>• Fixed: The bound render function returned by `KittenComponent` class’s `component` getter now correctly awaits asynchronous templates. (In Kitten, you don’t have to care whether your templates contain promises. Kitten handles all that for you.)</p><p>Enjoy! :kitten:💕</p><p>¹ <a href="https://kitten.small-web.org/reference/#icons" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">kitten.small-web.org/reference</span><span class="invisible">/#icons</span></a></p><p>² <a href="https://mastodon.ar.al/@aral/114381983893061099" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.ar.al/@aral/114381983</span><span class="invisible">893061099</span></a></p><p>³ <a href="https://kitten.small-web.org/reference/#markdown-support" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">kitten.small-web.org/reference</span><span class="invisible">/#markdown-support</span></a> (also see <a href="https://mastodon.ar.al/@aral/114381462302862256" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.ar.al/@aral/114381462</span><span class="invisible">302862256</span></a>)</p><p>⁴ <a href="https://kitten.small-web.org/tutorials/streaming-html/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">kitten.small-web.org/tutorials</span><span class="invisible">/streaming-html/</span></a></p><p>⁵ e.g., See how I use this to implement a copy to clipboard button in the database page of Kitten’s Settings: <a href="https://codeberg.org/kitten/app/src/branch/main/web/%F0%9F%90%B1/settings%F0%9F%94%92/db/index.page.js#L33" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/kitten/app/src/br</span><span class="invisible">anch/main/web/%F0%9F%90%B1/settings%F0%9F%94%92/db/index.page.js#L33</span></a> Of course, you don’t have to use this and you can just write client-side JavaScript or use the built-in Alpine.js integration. e.g., how I do it on the (older) settings/identity page: <a href="https://codeberg.org/kitten/app/src/branch/main/web/%F0%9F%90%B1/settings%F0%9F%94%92/identity/index.page.js#L7" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/kitten/app/src/br</span><span class="invisible">anch/main/web/%F0%9F%90%B1/settings%F0%9F%94%92/identity/index.page.js#L7</span></a></p><p><a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.ar.al/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.ar.al/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://mastodon.ar.al/tags/markdown" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>markdown</span></a> <a href="https://mastodon.ar.al/tags/icons" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>icons</span></a> <a href="https://mastodon.ar.al/tags/PhosphorIcons" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PhosphorIcons</span></a> <a href="https://mastodon.ar.al/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> <a href="https://mastodon.ar.al/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://mastodon.ar.al/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.ar.al/tags/StreamingHTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StreamingHTML</span></a> <a href="https://mastodon.ar.al/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> <a href="https://mastodon.ar.al/tags/WebSocket" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebSocket</span></a> <a href="https://mastodon.ar.al/tags/NodeJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NodeJS</span></a></p>
Jason Punyon<p>added some more examples to <a href="https://htmx-local.glitch.me" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">htmx-local.glitch.me</span><span class="invisible"></span></a> <a href="https://fosstodon.org/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a></p>
Sheena<p>If you are working with <a href="https://fosstodon.org/tags/Django" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Django</span></a> and curious about how to test your <a href="https://fosstodon.org/tags/HTMX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTMX</span></a> frontends, then <a href="https://fosstodon.org/tags/PreludeTech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PreludeTech</span></a>'s next "Modern frontend development with Django, HTMX, <a href="https://fosstodon.org/tags/Tailwind" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tailwind</span></a>, <a href="https://fosstodon.org/tags/Playwright" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Playwright</span></a> and <a href="https://fosstodon.org/tags/AlpineJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AlpineJS</span></a> " learning sprint could be exactly what you need.</p><p>You'll learn about how to apply <a href="https://fosstodon.org/tags/TDD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TDD</span></a> while building and debugging modern, interactive frontends. </p><p><a href="https://buff.ly/SShHfoi" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">buff.ly/SShHfoi</span><span class="invisible"></span></a></p>
Nils Hartmann<p>Hallo <a href="https://norden.social/tags/Westfalen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Westfalen</span></a>! 👋 </p><p>Wenn ihr Interesse an der <a href="https://norden.social/tags/Frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Frontend</span></a>-Entwicklung habt, habe ich zwei (ganz uneigennützige 😎) Tipps für euch:</p><p>👉 Morgen, Dienstag, 15. April, stelle ich euch <a href="https://norden.social/tags/NextJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NextJS</span></a> beim tech&amp;talk-Meetup in <a href="https://norden.social/tags/Dortmund" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Dortmund</span></a> vor: <a href="https://www.meetup.com/codecentric-dortmund-tech-talk/events/305897148" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">meetup.com/codecentric-dortmun</span><span class="invisible">d-tech-talk/events/305897148</span></a></p><p>👉 Am Mittwoch (16.4.) diskutieren wir auf der <a href="https://norden.social/tags/Java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Java</span></a> User Group <a href="https://norden.social/tags/M%C3%BCnster" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Münster</span></a> über <a href="https://norden.social/tags/HTMX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTMX</span></a> und JavaScript-Lösungen für moderne Webanwendungen: <a href="https://www.meetup.com/java-usergroup-munster/events/306529047" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">meetup.com/java-usergroup-muns</span><span class="invisible">ter/events/306529047</span></a></p><p>Würde mich freuen, euch zu sehen 😊</p>
Adam Johnson :django: :python:<p><a href="https://fosstodon.org/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> tip:</p><p>Use htmx.logAll() to log all htmx events to the console. Great for debugging which events are triggering or not!</p>
Webdev Weekly<p>Datastar: Web Framework for the Future?</p><p><a href="https://chrismalek.me/posts/data-star-first-impressions/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">chrismalek.me/posts/data-star-</span><span class="invisible">first-impressions/</span></a></p><p>Discussions: <a href="https://discu.eu/q/https://chrismalek.me/posts/data-star-first-impressions/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discu.eu/q/https://chrismalek.</span><span class="invisible">me/posts/data-star-first-impressions/</span></a></p><p><a href="https://mastodon.social/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> <a href="https://mastodon.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a></p>
GripNews<p>🌕 Datastar:未來網路框架?<br>➤ 告別 JavaScript,擁抱伺服器驅動的未來?<br>✤ <a href="https://chrismalek.me/posts/data-star-first-impressions/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">chrismalek.me/posts/data-star-</span><span class="invisible">first-impressions/</span></a><br>這篇文章探討了新的超媒體框架 Datastar,並與目前流行的 HTMX 進行比較。作者分享了他使用 HTMX 遇到的挑戰,以及為何重新評估 Datastar 的過程。Datastar 強調伺服器端邏輯,利用「信號」實現自動化的 UI 更新,並透過伺服器發送事件 (SSE) 達到快速效能。作者認為 Datastar 是一個值得探索的精簡替代方案,但需要以全新的觀點來開發網路應用,擁抱伺服器驅動架構和反應式程式設計。<br>+ 我一直對 JavaScript 感到厭煩,如果 Datastar 真能減少甚至消除對它的依賴,那就太棒了!<br>+ 這篇文章讓我對 Datastar 產生了興趣,看起來它解決了一些 HTMX 的痛點,值得深入研究一下。<br><a href="https://mastodon.social/tags/%E7%B6%B2%E9%A0%81%E9%96%8B%E7%99%BC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>網頁開發</span></a> <a href="https://mastodon.social/tags/%E6%A1%86%E6%9E%B6" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>框架</span></a> <a href="https://mastodon.social/tags/Hypermedia" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Hypermedia</span></a> <a href="https://mastodon.social/tags/Go" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Go</span></a> <a href="https://mastodon.social/tags/Datastar" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Datastar</span></a> <a href="https://mastodon.social/tags/HTMX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTMX</span></a></p>
Abishek Muthian<p>HTMX and Hyperscript has made web development fun again for me. Wanted to refactor the JSON input for countries, plan id etc. with select fields and validation in openpaymenthost.com (FOSS payments host); I got it done without React or having to write JavaScript.</p><p>Thanks to u/Trick_Ad_3234 on r/htmx for improving my hyperscript.</p><p><a href="https://fosstodon.org/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> <a href="https://fosstodon.org/tags/hyperscript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hyperscript</span></a> <a href="https://fosstodon.org/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a></p>
caio<p>Would it be possible to "toggle" requests with <a href="https://floss.social/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a>? Like, first click makes the request, second one doesn't, third one makes a new request and so on... 🤔 </p><p><a href="https://floss.social/tags/lazyweb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lazyweb</span></a> <a href="https://floss.social/tags/lazydev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lazydev</span></a></p>
Webdev Weekly<p>Less Htmx Is More</p><p><a href="https://unplannedobsolescence.com/blog/less-htmx-is-more/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">unplannedobsolescence.com/blog</span><span class="invisible">/less-htmx-is-more/</span></a></p><p>Discussions: <a href="https://discu.eu/q/https://unplannedobsolescence.com/blog/less-htmx-is-more/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discu.eu/q/https://unplannedob</span><span class="invisible">solescence.com/blog/less-htmx-is-more/</span></a></p><p><a href="https://mastodon.social/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> <a href="https://mastodon.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a></p>
Chris Woody Woodruff<p>Server-driven web apps are making a comeback—and htmx with ASP.NET Razor Pages is leading the charge. Less JS, more speed, and a whole lot simpler. The future looks familiar (in a good way): <a href="https://woodruff.dev/the-future-of-server-driven-web-apps-why-htmx-and-asp-net-are-just-getting-started/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">woodruff.dev/the-future-of-ser</span><span class="invisible">ver-driven-web-apps-why-htmx-and-asp-net-are-just-getting-started/</span></a></p><p><a href="https://mastodon.social/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> <a href="https://mastodon.social/tags/ASPNETCore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ASPNETCore</span></a> <a href="https://mastodon.social/tags/RazorPages" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RazorPages</span></a> <a href="https://mastodon.social/tags/WebDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDevelopment</span></a> <a href="https://mastodon.social/tags/ServerDriven" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ServerDriven</span></a> <a href="https://mastodon.social/tags/FutureOfWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FutureOfWeb</span></a></p>
GripNews<p>🌘 少即是多:htmx 的使用之道<br>➤ 善用 htmx 的真諦:回歸 HTML 本質<br>✤ <a href="https://unplannedobsolescence.com/blog/less-htmx-is-more/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">unplannedobsolescence.com/blog</span><span class="invisible">/less-htmx-is-more/</span></a><br>作者分享了他使用 htmx 兩年的經驗,認為在盡可能使用標準 HTML 的前提下,htmx 可以顯著提升使用者體驗和可維護性。文章強調避免濫用 hx-boost 等功能,因為它們會帶來複雜性並降低效能。作者建議使用傳統的連結和表單進行導航,並利用瀏覽器的快取機制和新功能來優化網站效能。<br>+ 這篇文章讓我重新思考了 htmx 的使用方式,之前一直想用 hx-boost 來模擬 SPA,現在覺得用標準 HTML 纔是正道。<br>+ 作者的觀點很有見地,提醒了我們不要過度依賴 JavaScript,而應該充分利用瀏覽器本身的優勢。<br><a href="https://mastodon.social/tags/%E7%B6%B2%E9%A0%81%E9%96%8B%E7%99%BC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>網頁開發</span></a> <a href="https://mastodon.social/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> <a href="https://mastodon.social/tags/%E5%89%8D%E7%AB%AF%E6%8A%80%E8%A1%93" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>前端技術</span></a> <a href="https://mastodon.social/tags/%E6%95%88%E8%83%BD%E5%84%AA%E5%8C%96" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>效能優化</span></a></p>