TE
TechEcho
StartseiteTop 24hNeuesteBesteFragenZeigenJobs
GitHubTwitter
Startseite

TechEcho

Eine mit Next.js erstellte Technologie-Nachrichtenplattform, die globale Technologienachrichten und Diskussionen bietet.

GitHubTwitter

Startseite

StartseiteNeuesteBesteFragenZeigenJobs

Ressourcen

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. Alle Rechte vorbehalten.

Clojuring the web application stack: Meditation One

165 Punktevon adityaathalyevor 5 Tagen

4 comments

adityaathalyevor 5 Tagen
The ongoing discussion for Biff [1] prompted me to re-share my post because I&#x27;d like more people to understand this &quot;other way&quot;. Outside Clojureville, it is <i>not</i> obvious most of these Clojure &quot;frameworks&quot; are <i>not</i> monoliths.<p>The consummate Clojurist&#x27;s <i>default</i> (and very normal-feeling way) to build a web application (or any application for that matter) is to roll their own web stack from production-grade libraries.<p>Of course, this state of affairs is a double-edged sword, just like is true for traditional web frameworks. In my post, I try to go into the whys and the wherefores, building upward from first principles.<p>[1] Biff – a batteries-included web framework for Clojure <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44037426">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44037426</a>
评论 #44041331 未加载
elchiefvor 4 Tagen
Metabase is written in clojure, if you want to see the source code of a large web app<p><a href="https:&#x2F;&#x2F;github.com&#x2F;metabase&#x2F;metabase">https:&#x2F;&#x2F;github.com&#x2F;metabase&#x2F;metabase</a>
评论 #44048638 未加载
评论 #44049336 未加载
评论 #44051738 未加载
winkvor 4 Tagen
The problem with this approach is that (esp. for hobby projects) updating stuff is a bit tedious. Let&#x27;s say you have a relatively bare bones project in Rails or a PHP framework you have a couple of dependencies that people usually use together, so upgrading can be quick and painless.<p>I&#x27;ve now had it several times in the years-long lifespan of small clojure web projects that people have moved on and the thing (framework-ish) basically doesn&#x27;t exist anymore and going by the issues it only had like 10 users in the first place.<p>It&#x27;s not the end of the world, and fortunately there&#x27;s not a lot of needless churn, but I guess I would prefer to have this &quot;I am trusting project x and I only have to care about their releases (pre-testing all the moving parts) and then my 5 dependencies&quot; and instead I have 20 dependencies&#x2F;moving parts for my web app.<p>Yes, I&#x27;m lazy and I don&#x27;t think it&#x27;s a problem in an env where you have a proper dev workflow anyway.
评论 #44051360 未加载
评论 #44053007 未加载
librastevevor 4 Tagen
a very lyrical post, i will reread at my leisure and try to apply the lessons to <a href="https:&#x2F;&#x2F;harcstack.org" rel="nofollow">https:&#x2F;&#x2F;harcstack.org</a><p>that’s HTMX, Air, Red &amp; Cro btw<p>that said … I am a true believer in HTMX for the right amount of UX dynamism and I don’t initially get solves that piece
评论 #44049106 未加载
评论 #44049148 未加载