TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Htmx, Raku and Pico CSS

184 pointsby librasteve8 months ago

19 comments

simonbarker878 months ago
I’ve been using htmx for over a year now for our internal management application (order monitoring, partner management, CAD model uploading and management type stuff) and I continue to be delighted at how quickly I can add features and iterate existing ones. I write way less client side JS, the app is very fast and responsive and I don’t have to write the app twice like with a SPA + API.
评论 #41484286 未加载
评论 #41484197 未加载
评论 #41486981 未加载
nanis8 months ago
&gt; I am a simple sole, ... go back to the halcyon early days of the web before Netscape dropped the JS-bomb. You know HTML for the layout and CSS for the style.<p>I am not sure if this is intended as humor, but JavaScript came before CSS.
评论 #41485082 未加载
评论 #41485174 未加载
评论 #41488757 未加载
评论 #41486245 未加载
评论 #41489149 未加载
评论 #41486554 未加载
karaterobot8 months ago
&gt; As we have seen in the previous posts, HTMX eliminates the need for JS to make dynamic web content.<p>Well, sort of! I suppose that for certain definitions of eliminating Javascript, this Javascript framework eliminates the need for Javascript completely.
评论 #41488854 未加载
评论 #41486253 未加载
eddyg8 months ago
Raku is such a fantastic, feature-laden language. Cool to see it get a (tiny) bit of HN attention!
评论 #41486465 未加载
chris_armstrong8 months ago
&gt; I am a simple sole, I want to reduce the cognitive load in my web projects. The general idea is to go back to the halcyon early days of the web before Netscape dropped the JS-bomb. You know HTML for the layout and CSS for the style. An elegant division of roles.<p>(I&#x27;m not quite sure if this is the author&#x27;s sentiment), but the point shouldn&#x27;t be to escape JS entirely, but make it into something that can be used in a repeated pattern that works in lockstep with your application, such that you are neither creating custom JS for each page (e.g. React), nor blindly manipulating the DOM (like JQuery).<p>The division of roles between CSS and HTML is an almost contradictory point - your styling and layout <i>should</i> be coupled if you are to impose any meaningful order in your design. If you are rejecting the &quot;decoupling&quot; of front-end and back-end that React gives you, then why would you expect to be able to do it between HTML and CSS?
评论 #41485309 未加载
评论 #41486411 未加载
murkt8 months ago
HTMX, Unpoly and Twinspark are great, can&#x27;t say anything about Raku.<p>I also really liked an idea about class-less CSS frameworks, as I was frustrated with all the `&lt;table class=&quot;table&quot;&gt;` and so on. Then I&#x27;ve tried it for one project where I had to integrate Leaflet map on a page. And it&#x27;s just not possible to do with class-less CSS frameworks.<p>Since then I write `&lt;table class=&quot;table&quot;&gt;` and have zero problems with that.
评论 #41486312 未加载
jakelazaroff8 months ago
The main example in this article — immediately following a section on semantic HTML — is a list of &lt;a&gt; tags with the hrefs all set to `#` and the hyperlink behavior emulated with htmx. So we’ve taken what would otherwise be a perfectly functional list of links, removed the most important semantic attribute, broken a bunch of behavior and rendered them useless without a ~16kb JavaScript library.<p>…and look, that’s an okay mistake to make — it takes time to learn this stuff — but when you <i>also</i> go out of the way to pine for “the halcyon early days of the web before Netscape dropped the JS-bomb” it makes it difficult to take you seriously. A list of links is, like, the most basic essence of a website; if you aren’t able to make that work without a JavaScript library, what are you even pining for?
评论 #41488983 未加载
bravura8 months ago
I&#x27;m just curious if anyone is using unpoly instead of HTMX?<p>I know that HTMX has a much larger userbase, its main dev is well known and beloved, and the landing page doesn&#x27;t look web 1.0<p>With that said, unpoly appears to have a similar feature set and one feature that HTMX doesn&#x27;t: The ability to create modals without loading a new page.
评论 #41485075 未加载
评论 #41486039 未加载
评论 #41486214 未加载
评论 #41486276 未加载
sergiotapia8 months ago
i know tailwind wasn&#x27;t created in a vacuum and solves a massive problem. but part of me does feel sad it &quot;won&quot; and now we all are forced to deal with it in one way or another. i remember when HTML was clean and semantic, and crawlable. there was a certain respect in that way.
评论 #41484567 未加载
评论 #41484576 未加载
评论 #41488587 未加载
mixmastamyk8 months ago
Pico looks like it may be the classless styler I was looking for, thanks.
评论 #41484532 未加载
fragmede8 months ago
(sole = bottom of shoe<p>soul = spiritual part of a human)
stephankoelle8 months ago
Recently, I’ve been working with Quarkus[1], the quarkus-qute[2] (a type-safe templating engine), and htmx. I found the experience quite positive. Quarkus offers lightning-fast compilation with a hot-reloading Maven wrapper (mvnw), making development seamless. Picking up qute was straightforward, and combining it with htmx, especially with qute’s #fragment support for htmx, felt like a natural fit.<p>[1] <a href="https:&#x2F;&#x2F;quarkus.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;quarkus.io&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;quarkus.io&#x2F;guides&#x2F;qute" rel="nofollow">https:&#x2F;&#x2F;quarkus.io&#x2F;guides&#x2F;qute</a>
allan_s8 months ago
For the &quot;semantic web&quot; part, what we&#x27;ve been using in my company recently , is the `&lt;x-something&gt;` tag which are valid html5<p>so except if there&#x27;s a really fitting html5 tags (like footer, h1 , main ), we will have `&lt;x-card&gt;` `&lt;x-avatar&gt;&lt;img &gt;&lt;&#x2F;x-avatar&gt;` (In case we must have an additional ) so that it&#x27;s easier to convey the semantic (especially when looking in the dom inspector)<p>for the css we&#x27;ve been using tailwind (and couldn&#x27;t be happier), but for personnal projects I guess picocss would be a really nice fit with `&lt;x-semantic&gt;` tags
niutech8 months ago
Better than using HTMX - 48KB of JS - use my PHOOOS technique (<a href="https:&#x2F;&#x2F;kodus.pl" rel="nofollow">https:&#x2F;&#x2F;kodus.pl</a>) with pure HTML out-ouf-order streaming, pure CSS framework Spectre.css (<a href="https:&#x2F;&#x2F;niutech.github.io&#x2F;spectre&#x2F;" rel="nofollow">https:&#x2F;&#x2F;niutech.github.io&#x2F;spectre&#x2F;</a>) and a sprinkle of 166B (bytes, not KB!) HTMZ (<a href="https:&#x2F;&#x2F;leanrada.com&#x2F;htmz&#x2F;" rel="nofollow">https:&#x2F;&#x2F;leanrada.com&#x2F;htmz&#x2F;</a>) for extra interactivity.
monkmartinez8 months ago
I hope you are not a sole, and have the complete human embodiment of a soul. Otherwise, yes, I agree. My one off projects use more and more cdn loaded information. I love pico, bulma and htmx.
mediumsmart8 months ago
I do believe this is still in the first half of the rococo phase and that rubble is a long way off so by all means, carry on.
cantSpellSober8 months ago
Why Pico specifically? Lots of classless frameworks.<p>&gt; I am a simple sole <i>[sic]</i><p>`href=#` + JS library + config file + setting routes for each tab button doesn&#x27;t feel simple
评论 #41484969 未加载
exabrial8 months ago
&gt; While HTMX is well suited to 90% of this, if you are building a webapp like FaceBook […], then it’s not for you<p>I completely completely disagree. This is all you need.
评论 #41486242 未加载
fny8 months ago
I have been in web dev since 1999, and recently switched to a backend role.<p>I am never going back.<p>The endless thrashing on front end borders on psychosis. Something is clearly broken, and that thing is my feeble mind.
评论 #41484940 未加载
评论 #41485506 未加载
评论 #41484740 未加载
评论 #41485155 未加载
评论 #41485474 未加载
评论 #41486399 未加载
评论 #41484560 未加载
评论 #41485347 未加载
评论 #41486271 未加载
评论 #41488468 未加载