Readit News logoReadit News
shaftoe444 · 2 years ago
Cutesy cartoon saying no JavaScript but all examples are JavaScript. Html first but you need npm install. Convinced this is satire designed to annoy me.
jklinger410 · 2 years ago
Cannot stress enough how every framework for development that starts with "npm install" is inaccessible to most amateurs by its very nature.

I'm not sure what drives developers to be so insular with thought and make so many assumptions about others. It seems like basic gate-keeping activity, but maybe it's just ignorance.

threatofrain · 2 years ago
I'd say otherwise. JS is one of the largest and most vibrant communities because it is the opposite of hard. And because the amount of investment you get in and the amount of payoff you get out is emotionally delightful. And because there is a huge and competitive ecology of pedagogy on YT and other places.

You don't get to this size because it's so hard. People aren't joining JS for the relatively low prestige, they aren't joining because the paycheck compares any better to any other part of the industry, and they aren't joining because of any promise of intellectual development — they're joining because it's the most accessible doorway in the tech community today.

There's no other part of the industry that's so clogged with amateurs trying to join.

The only other industry I can think of which is so hot in its community energy would be Python and ML, but they appeal with a different set of values. ML is hot because it's prestigious, ML is hot because the job market is insanely hot, ML is hot because it promises boundless intellectual exploration.

THENATHE · 2 years ago
I agree. I’ve used nodejs quite a bit, but I rarely need it for whatever I am doing and quite often actively avoid it because all of that shit is a pain in the ass over just writing a script in an ide or even direct text.
mattw2121 · 2 years ago
Same thing. Saw "No Javascript" and then went to the example app....nothing but Javascript?
nonethewiser · 2 years ago
it says "No Javascript required unless you want it", not just "No Javascript."
monsieurbanana · 2 years ago
Yes, instead of npm they should have used hpm the html package manager.

Jokes aside, it's a full stack framework, you need some server-side language. It's the served html that is (optionally) javascript-free.

kitd · 2 years ago
I think most people understand that "no Javascript" applies to the client. You can't exactly write a backend in pure HTML.
brazzy · 2 years ago
Remember ColdFusion?

Sure, not exactly "pure", but the point was basically to make it look like that.

ekianjo · 2 years ago
Yeah when I saw npm... "no javascript unless you want to?", really? Looks like the author really wants you to use Javascript
monsieurbanana · 2 years ago
The title has full stack very prominently. Did you expect to code the backend in css?

Deleted Comment

nonethewiser · 2 years ago
I'm not sure its fair to criticize this framework because it includes javascript in the examples and the website. HTML first doesn't mean HTML only.

How about this example?

https://github.com/enhance-dev/enhance-starter-project/blob/...

Takennickname · 2 years ago
I think it's completely fair to criticize it. It's claiming to be "the" html framework, but then you have sveltekit and Astro which are far more HTML friendly and easier to get started on for non JS devs.

This just comes off as a ploy to hijack the meaning of HTML.

Takennickname · 2 years ago
Continued: No one is complaining about the framework itself. Everyone is talking about what you're claiming to be, which you're not. The quality of the framework itself hasn't been alluded to.

Deleted Comment

yohannparis · 2 years ago
In the same link you can see that the elements are in JSX, not HTML... It's not because JSX looks like HTML that it is.

https://github.com/enhance-dev/enhance-starter-project/blob/...

itslennysfault · 2 years ago
Neither your link or the one you replied to contain any JSX. Not sure what you're referring to.
jerf · 2 years ago
Normally I wouldn't object like this, but this actually confused me so I'll share it. This should be "HTML-first full stack web framework". I initially read as "The HTML (first full stack web framework)" which immediately soured me on the claim to somehow be the first full stack web framework. Or some other reformulation of the motto which eliminates "first full stack web framework" from a potential garden-path interpretation: https://en.wikipedia.org/wiki/Garden-path_sentence , so as to spice up my grammar complaint with an HN-style link of interest.
rob · 2 years ago
You're in luck, I can still edit my post!

(I just copy/pasted the website's <meta> description without thinking too much about it. I agree though.)

nonethewiser · 2 years ago
I actually read it this way too. My first reaction was "wait, what are all these other frameworks missing?"
soneca · 2 years ago
Cool link, thanks. And I wondered if that was possible in Portuguese, there was a Portuguese example :)
Takennickname · 2 years ago
I don't see any HTML in the examples. Just Javascript. I'm very confused.

Edit: Or JSX. I dunno. I successfully avoided learning react so far.

s4i · 2 years ago
> SSR composable HTML Custom Elements

I assume that by default all that JS runs on the server and HTML gets returned to the browser.

dgb23 · 2 years ago
I don't think it's JSX but pure JS.

They seem to be using tagged template literals (like lit-html does). They are essentially functions.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

nonethewiser · 2 years ago
This starter project example is html: https://github.com/enhance-dev/enhance-starter-project/blob/...

What examples are you referring to?

flagrant_taco · 2 years ago
The other file in that example is JS, and interestingly it uses a plain template literal without an `html` tag or anything to help with language tools and syntax highlighting

https://github.com/enhance-dev/enhance-starter-project/blob/...

Deleted Comment

capableweb · 2 years ago
In the very same repository: https://github.com/enhance-dev/enhance-starter-project/blob/...

GitHub says ~30% of that repository is JavaScript code. Seems strange for a HTML-first framework.

M4v3R · 2 years ago
There's only one code example on the landing page and it's a JS class.
MichaelYuhe · 2 years ago
Just tried to deploy the starter website on Zeabur and found this requires 130MB memory? https://enhance-demo.zeabur.app/
Alifatisk · 2 years ago
What exactly required 130 MB of memory? The dev server? The website itself? The Zeabour executable?
MichaelYuhe · 2 years ago
I just saw the memory usage on Zeabur dashboard.
stefanvdw1 · 2 years ago
Unrelated but how do you like zeabur? Looks interesting but haven’t heard anything about it yet
MichaelYuhe · 2 years ago
Unlike Vercel, Zeabur can deploy full-stack services, including front-end, back-end, and the database. You can try it here: https://zeabur.com
outsidetheparty · 2 years ago
"HTML First" versus "HTML Only" aside, I hadn't heard of this one before, and it looks promising.

I've been looking for simpler frameworks that do less, because I'm tired of coming back to projects I've set aside for six months or a year and having to basically relearn and rewrite them to match all the updates and incompatible changes the framework made in the meantime.

At first glance this looks like it handles the essentials and doesn't try too hard to handle anything else; I'm going to give it a try.

turnsout · 2 years ago
At this point, HTML+CSS is so full-featured, I think we need to question why a framework is necessary at all. Especially if you don’t need JS.
ChrisArchitect · 2 years ago
Anything new since?

More discussion from last year: https://news.ycombinator.com/item?id=32987840