Live data from Hacker News

Show HN: I made a HTMX Playground 100% in the browser

lassebomh.github.io

61–70 of 126 posts

Re: Show HN: I made a HTMX Playground 100% in the browser

#61
post #7

Is Htmx just the long overdue successor to DHTML that was all the hype in, say, 1997?

You are currently using the successor of DHTML.

Dynamic HTML was a marketing term used by Netscape and Microsoft to refer to the combination of HTML, CSS, and JavaScript. Also under that umbrella term you have the introduction of the div tag for IE or the layer tag for NS4 (also NS4 included a JS version of CSS)

It was “dynamic” because you could do effects like hover menus using JS snippets or the first iterations of CSS (ohh the memories of my first Geocities pages). But, XHR APIs didn’t existed yet.

Edit: it seems that the marketing term was used mainly by Microsoft for IE.

Re: Show HN: I made a HTMX Playground 100% in the browser

#62

I was seriously thinking about using HTMX myself, but I'm kinda scared it's developer pool seems too small to hire devs from. I'm used to proprietary frameworks, in my case I worked with intershop which uses isml. (this is comparible to something like thymeleaf). In recent years we tried to move away from this approach and go to the angular front end Stack because it's easier to hire a dedicated frontend developer th…

How to counter it. HTMX takes no more than half a day to pick up, probably quicker than that.

Keep in mind HTMX does not solve all scenarios, there are times when a SPA using a JS framework is required.

Re: Show HN: I made a HTMX Playground 100% in the browser

#63
post #23
post #22

Earlier quoted context omitted.

This is a great question. I love htmx but in situations that have to work offline I can't use it. Would be a great hack to be able to just run your server code in a worker.

> Would be a great hack to be able to just run your server code in a worker. This is exactly why some people build heavy offline-first SPAs in JS. HTMX tries to avoid this entirely. Conceptually (seen from the perspective of HTMX), it makes zero sense to put the server code in a worker and run a client-server architecture in the client‘s browser. This would be an over-engineered thing that HTMX explicitly tries to av…

> This would be an over-engineered thing that HTMX explicitly tries to avoid in the first place.

Yes, this is where I think a lot of folks who moan about "bloated JS frameworks", etc. really are just complaining they can't use their favorite (or only) language for web UI development.

Re: Show HN: I made a HTMX Playground 100% in the browser

#64

> Limited mobile support, Ace Editor (should just be Monaco) and lack of proper error outputs. Monaco doesn't work on mobile by design, so people use Ace on mobile. At least the last time I checked GitHub[0]. [0] https://github.com/Microsoft/monaco-editor/issues/246

Monaco works fine on mobile, just used it for https://tsdiagram.com

What did you use to generate that lovely ERD-style diagram?

Re: Show HN: I made a HTMX Playground 100% in the browser

#65

I was seriously thinking about using HTMX myself, but I'm kinda scared it's developer pool seems too small to hire devs from. I'm used to proprietary frameworks, in my case I worked with intershop which uses isml. (this is comparible to something like thymeleaf). In recent years we tried to move away from this approach and go to the angular front end Stack because it's easier to hire a dedicated frontend developer th…

> I'm kinda scared it's developer pool seems too small to hire devs from It is very straightforward to pick up. Unless you hire code camp devs who only ever learned React, no actual CS topics, anybody should be productive within at most a week.

While true this is divorce from organization’s hiring practices. I have to fill out a form to request someone and htmx won’t be on it. You will get someone who only know react and will stomp their feet as to why can’t we use react. A lot of bootcamp programmers are cert jockeys who don’t care or know about development, not that they can’t learn.

Re: Show HN: I made a HTMX Playground 100% in the browser

#69

I was seriously thinking about using HTMX myself, but I'm kinda scared it's developer pool seems too small to hire devs from. I'm used to proprietary frameworks, in my case I worked with intershop which uses isml. (this is comparible to something like thymeleaf). In recent years we tried to move away from this approach and go to the angular front end Stack because it's easier to hire a dedicated frontend developer th…

> Stuff can get complex when you're using something like htmx

Interesting to hear that after a mention of Angular. Different ideas of complexity I guess - frameworks like it give you structure but complexity is still there, and probably orders of magnitude higher.

Ultimately you want FE devs that know the web stack well - JS, CSS, HTML, browser APIs. They will be able to pick the best tools & frameworks for the job. Something like HTMx is trivial to pick up.

Re: Show HN: I made a HTMX Playground 100% in the browser

#70

hey there, I'm the creator of htmx, and I really appreciate you making this! very cool!

Likewise man. In the face of avoiding JS, I think we've both taken one for the team here

Wait til you find out I'm using htmx with node.
Post reply on HN