Live data from Hacker News

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

swag.htmx.org

171–180 of 216 posts

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#171
post #153

Earlier quoted context omitted.

It's a 14kb library that invents its own templating syntax and DSL and also requires the backend to conform to its DSL. Yes, it's smaller than some other frameworks, but let's stop with "doesn't require JS" nd other bullshit

It doesn’t have its own templating syntax, it just uses server side HTML generation. It doesn’t require the backend to ‘conform’ to anything, it works with very standard HTTP forms and HTML responses. I’m afraid you’re very confused!

> It doesn’t have its own templating syntax

What do you think hx-get and hx-trigger="input changed delay:1s" are? Standard browser attributes? Standard browser functionality and behaviour? Standard events syntax?

> It doesn’t require the backend to ‘conform’ to anything,

Just one of the quotes from the docs: "You would need to check on the server side for the HX-Request header to differentiate between an htmx-driven and a regular request, to determine exactly what to render to the client."

> I’m afraid you’re very confused!

I'm afraid I'm not

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#172
post #153

Earlier quoted context omitted.

It's a 14kb library that invents its own templating syntax and DSL and also requires the backend to conform to its DSL. Yes, it's smaller than some other frameworks, but let's stop with "doesn't require JS" nd other bullshit

yeah if that's a problem you can always use fixi https://github.com/bigskysoftware/fixi

What does that have to do with anything? Literally the same thing (only difference is size)

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#173
post #171

Earlier quoted context omitted.

It doesn’t have its own templating syntax, it just uses server side HTML generation. It doesn’t require the backend to ‘conform’ to anything, it works with very standard HTTP forms and HTML responses. I’m afraid you’re very confused!

> It doesn’t have its own templating syntax What do you think hx-get and hx-trigger="input changed delay:1s" are? Standard browser attributes? Standard browser functionality and behaviour? Standard events syntax? > It doesn’t require the backend to ‘conform’ to anything, Just one of the quotes from the docs: "You would need to check on the server side for the HX-Request header to differentiate between an htmx-driven…

That's how progressive enhancement works. The website should work fine if JS is disabled. Then it's faster via htmx if JS is enabled, and more so if the backend is tuned as well.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#174

Earlier quoted context omitted.

How does introducing a third layer reduce complexity?

I'm replacing existing third-party applications which have complex JavaScript frameworks with my "in house" apps using HTMX + mostly just HTML+CSS for most pages and functionality. i.e. I'm not introducing a layer, I'm replacing one. Why not just use html without HTMX you ask? With HTMX I don't have to reload the entire page to navigate, which is especially helpful for making the app responsive even on low bandwidth…

You said you added a new Go templating layer.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#175
post #171

Earlier quoted context omitted.

> It doesn’t have its own templating syntax What do you think hx-get and hx-trigger="input changed delay:1s" are? Standard browser attributes? Standard browser functionality and behaviour? Standard events syntax? > It doesn’t require the backend to ‘conform’ to anything, Just one of the quotes from the docs: "You would need to check on the server side for the HX-Request header to differentiate between an htmx-driven…

That's how progressive enhancement works. The website should work fine if JS is disabled. Then it's faster via htmx if JS is enabled, and more so if the backend is tuned as well.

None of the things HTMX adds will work. Which is easy to test by just turning off Javascript on most (any?) examples or sites using HTMX.

Because none of that is standard, none of that is understood by browsers, and requires HTMX to work.

Which is also besides the point of discussing whether or not HTMX invents its own templating, DSL, and requires the server to be aware of HTMX to to work properly.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#176

hello all, we are releasing htmx 4.0 on the Game Boy and Gameboy Color (thank you rcy for submitting) it is a real, honest-to-goodness mario-bros inspired GameBoy game with four levels over three biomes ending in a slop factory where you battle final boss warren buffering (an online character I beef with, we are friends) if you beat him it unlocks the source code for htmx 4.0 game was written by Stephen Mitchell (aka…

My hat's off to you for finding and shouting out an artist to complete the look!

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#177
post #175

Earlier quoted context omitted.

That's how progressive enhancement works. The website should work fine if JS is disabled. Then it's faster via htmx if JS is enabled, and more so if the backend is tuned as well.

None of the things HTMX adds will work. Which is easy to test by just turning off Javascript on most (any?) examples or sites using HTMX. Because none of that is standard, none of that is understood by browsers, and requires HTMX to work. Which is also besides the point of discussing whether or not HTMX invents its own templating, DSL, and requires the server to be aware of HTMX to to work properly.

The things work, albeit with a full page load. As one of the ancestor comments said: progressive enhancement.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#178
post #175

Earlier quoted context omitted.

That's how progressive enhancement works. The website should work fine if JS is disabled. Then it's faster via htmx if JS is enabled, and more so if the backend is tuned as well.

None of the things HTMX adds will work. Which is easy to test by just turning off Javascript on most (any?) examples or sites using HTMX. Because none of that is standard, none of that is understood by browsers, and requires HTMX to work. Which is also besides the point of discussing whether or not HTMX invents its own templating, DSL, and requires the server to be aware of HTMX to to work properly.

[dead]

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#179
post #74

Earlier quoted context omitted.

This implies it's all dropshipped print-on-demand, of course. Which is fine if you're just considering it a donation incentive rather than a worthwhile product in its own right.

To be clear, making clothing is not actually their business.

Yes, but you might guess they've done some work to find a supplier and test the quality of their supplied products and have a box of T-shirts they know are good. Which they don't - they're basically just plugging your order into a slop fulfilment company. Which is fine if you don't actually care too much about the merch.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#180
post #175

Earlier quoted context omitted.

None of the things HTMX adds will work. Which is easy to test by just turning off Javascript on most (any?) examples or sites using HTMX. Because none of that is standard, none of that is understood by browsers, and requires HTMX to work. Which is also besides the point of discussing whether or not HTMX invents its own templating, DSL, and requires the server to be aware of HTMX to to work properly.

The things work, albeit with a full page load. As one of the ancestor comments said: progressive enhancement.

Lol. Even the hamburger menu doesn't work on htmx.org without Javascript.

I'll let you find any working examples yourself.

Most sites won't work or will be broken, too. Obviously You have to actually try and work on progressive enhancement, and not rely on marketing blurbs and promises of magic.

I wonder if people blindly defenfing their favorite thingd actually know anything about them.

Post reply on HN