this post was submitted on 13 Nov 2023
75 points (100.0% liked)

Programming

423 readers
2 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
top 9 comments
sorted by: hot top controversial new old
[–] astronaut_sloth@mander.xyz 13 points 1 year ago

I'm all about this. When I made my personal webpage, this is how I do it. I'm surprised it's not more popular (at least for certain things) because it looks nice and clean, is fast, and crucially, is easy to put together. Most webpages don't need a ton of JS to "accomplish the mission." I get that not everything can do this, but there are soooooo many sites that can strip down to a more minimal site and have better functionality and a better experience. This is a case of less-is-more.

[–] Olissipo@programming.dev 6 points 1 year ago

I don't agree with the problem they aim to solve with those goals.

But today it takes several years of mastering tools and frameworks to get to that stage. HTML First principles should allow people to unlock that feeling, and level of mastery, much earlier on in their coding journey.

The onboarding process can be made easier for devs new to the project (junior or senior) with decent documentation. Just enough install/build the project in their local machine and understand the gist of the technologies.

[–] FrameXX@discuss.tchncs.de 4 points 1 year ago* (last edited 1 year ago)
  1. Rule - Prefer Naked HTML

HTML? Naked?? Man, I always did 😍.

[–] MonkderZweite@feddit.ch 4 points 1 year ago

Using tools the way they are built for has advantages, who knew?

[–] CodeMonkey@programming.dev 1 points 1 year ago

As someone who was a web developer since the mid-2000's (and not more recently), an HTML first approach speaks to me. I am still of the belief that your contents should be in HTML and not pulled in via JavaScript.

The article is a bit self contradictory. It encourages specifying style and behavior inline and not using external styles and scripts but also discourages using a website build pipeline or dynamically generated HTML. So how can you maintain a consistent look and feel between pages? Copy and paste?

[–] FrameXX@discuss.tchncs.de 1 points 1 year ago* (last edited 1 year ago) (1 children)

Where possible, maintain the right-click-view-source affordance. The beauty of the early web was that it was always possible to "peek behind the curtains".

Just make the source code availible behind a visible link (hosted on Github or another similiar platform if possible). I don't see this being a problem by any means.

[–] shnizmuffin@lemmy.inbutts.lol 1 points 1 year ago

You don't even need to do that, we figured out sourcemaps an eternity ago.