Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
silver-arrow
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
silver-arrow
2y ago
I loved Plato on my TI-99/4A computer when I was a kid. I credit it with helping me become a much better student. When my oldest son was struggling in grammar school, 15 years ago, I got it running on the Mame emulator for him, and it
2.
▲
by
silver-arrow
3y ago
We moved away from ClojureScript entirely. We just run a plain ole java uberjar with the Clojure/ring/hiccup/Compojure spitting out the HTML with whatever htmx attributes and response headers we need. There are instances wher
3.
▲
by
silver-arrow
3y ago
Exactly! I love the sweet spot that htmx hits; please don't change that!
4.
▲
by
silver-arrow
3y ago
That's fair. I agree - that type of blanket statement is not helpful in the technical realm. I should have kept it at just: HTML should have continued to be expanded into what htmx is doing.
5.
▲
by
silver-arrow
3y ago
Great news. I have had good success and a rewarding experience using htmx the past year. It has been so great in tandem with Clojure using hiccup for SSR. Once htmx clicks for you, you are almost left stunned by how simple and flexible it i
6.
▲
by
silver-arrow
3y ago
htmx is so wonderful. We have had amazing success utilizing it and returning to a hypermedia approach to web dev. The essays go into detail of why this is.
7.
▲
by
silver-arrow
3y ago
I have immensely enjoyed and benefited from using htmx for the past 18 months on projects with Clojure as the backend language. I had done years of full-stack Angular then React on the front-end and Java Rest endpoints on the back-end with
8.
▲
by
silver-arrow
3y ago
Exactly! Well said
9.
▲
by
silver-arrow
3y ago
htmx has provided the greatest satisfaction and production of my 30-year programming career. After a year of constant development experience with it, I am confident that this is the proper method of building web applications. It truly is ho
10.
▲
by
silver-arrow
3y ago
That was such an educational experience! Great talk and speaker.
11.
▲
by
silver-arrow
4y ago
Vim9script is pretty darn good; and fun to use.
12.
▲
by
silver-arrow
4y ago
Excellent and very productive language. Personally, I did 15 years of straight Java (before that C and C++), then 5 years of Clojure. For me, the most telling dynamic is when I recently returned to a Java project and realized how much bette
13.
▲
by
silver-arrow
4y ago
True BizarreByte. I love how htmx let's you easily add animation indicators on actions, because many times it's too fast due to the small chunks coming back and getting placed so quickly in the DOM
14.
▲
by
silver-arrow
4y ago
You for sure wouldn't want to build a spreadsheet type app with htmx because of that aspect. Many other types of web apps can benefit from the simplification of the architecture, however. And like my paging example, many times you need
15.
▲
by
silver-arrow
4y ago
Yes it can. Right, your server-side routing would have those routes set-up. Naming them can get interesting :)
16.
▲
by
silver-arrow
4y ago
Yes indeed! The core aspect, however, is that your server is returning fragments of html that htmx places in the DOM extremely quickly. They have pretty good examples on their site illustrating some "modern" UI patterns. As an exa
17.
▲
by
silver-arrow
4y ago
It really is so terrific. After using it for over a year, I agree with the creator's of htmx when they say that this is how web development would have been if HTML as hypermedia was continually improved all these years. When you start
18.
▲
by
silver-arrow
4y ago
Much more prefer the htmx way of SSR parts of the page dynamically. Also, totally server-side agnostic, so we can use what we prefer. Clojure in our case. https://htmx.org/
19.
▲
by
silver-arrow
4y ago
Excellent article that clearly describes the benefits and simplicity of hypermedia applications. We have experienced the benefits of designing our web applications in this manner using htmx. This library, htmx, has been a real lifesaver for
20.
▲
by
silver-arrow
4y ago
I initially had the same thoughts as you when I got on my first Clojure project. Previously, I used strongly typed languages with "approved" frameworks. Developed in Java for over 20 years before getting put on a Clojure project.
21.
▲
by
silver-arrow
4y ago
Hmmm. alpine.js does complement htmx very well and is pretty popular, so it is a great choice. I liked _hyperscript when I saw it when assessing htmx so thought they might play better together since the author is the same for both. But I do
22.
▲
by
silver-arrow
4y ago
I see bnert gave a very good answer to your question in a reply. So to echo what bnert said, as far as the java template frameworks like jsp and thymeleaf, htmx is complementary to them. Here is a good scenario in this blog post by someone.
23.
▲
by
silver-arrow
4y ago
The JavaScript we use is now much, much less. Actually, most times we just sprinkle in a bit of hyperscript for the times we need something a bit more dynamic than plain htmx. _hyperscript is a separate library by the same author that provi
24.
▲
by
silver-arrow
4y ago
This answer is exactly correct. You must really think about how this dramatically makes developing these types of applications simpler by a magnitude. You are literally killing significant complexity that causes time, effort, and bugs. And,
25.
▲
by
silver-arrow
4y ago
That’s part of the benefit of htmx and it’s hypermedia approach, you can build the backend in anything you prefer. Some like using language and frameworks that use templates. Others, like we do, used fairy basic HTML generation libraries. W
26.
▲
by
silver-arrow
4y ago
It’s pretty simple to use the htmx events on the Response to handle errors dialogs or other behavior
27.
▲
by
silver-arrow
4y ago
Agreed that it is a breath of fresh air. It totally eliminates heavy complexity in the development environment and networking protocol layers. What makes me happy is that it completely reinvigorates the server side language you prefer to us
28.
▲
by
silver-arrow
4y ago
Have been using htmx for a little over a year now, and I am so thankful for this library. It has simplified our development tremendously from ClojureScript / React to vanilla Clojure on the backend doing SSR of HTML with htmx HTML elem
29.
▲
by
silver-arrow
4y ago
For sure. You could also build front-ends with Clojure using htmx. It really simplifies building dynamic front-ends by allowing you to return to the hypermedia model with server-side rendering. It has been fantastic. No ClojureScript. Just
30.
▲
by
silver-arrow
4y ago
No problem. Check out their site for some wonderful examples of what it can do and have fun!
More ›