Web Devs Grapple with Emerging Tech Costs
Developers are expressing concern about the high costs associated with AI infrastructure and emerging web development technologies like HTMX. The posts highlight concerns around RAM prices, unsustainable buildout expenses, and a lack of widespread adoption for certain tools.
SOURCES (15)
“i think you shouldnt do that. instead let your server send data not just html and have client-rendered widgets which process it i guess. that way you dont have to deal with demo tech like htmx so much and youll have an easier time i…”
“Out of band swaps exist for a reason. [re: Using HTMX alongside any templating engine, how do you deal with the mess that happens when you need to handle both an hx-request and a normal browser request in every handler?]”
“It's because Astro is complete overkill. You don't need it for a basic static site. Especially for a non-dev. [re: Laid off after 7 years and my portfolio is a 2019 PDF.]”
“Look into Astro, also Web components. Thank me later [re: Many sites with same components]”
“For web development since you specialise in vanillajs you want to use Astro. [re: How much do web developers charge in the UK]”
“I would go with Astro, it has a better ecosystem. Nowadays, if you're using AI, you can create the site with pure HTML/CSS/JS. [re: I'm thinking of using a static site generator (11ty or Astro) to rebuild my website, which is best for lightly interactive components?]”
“Astro, because it's at the same time very simple and extremely powerful. [re: I'm thinking of using a static site generator (11ty or Astro) to rebuild my website, which is best for lightly interactive components?]”
“For lightly interactive bits I'd lean toward Astro. Its islands approach lets you write most of the site as static HTML and then hydrate only the specific components that need JS (with client:visible or client:idle), so you don't pay for a framework on every page. You can also use whatever component library you're comfortable with, React, Svelte, Vue, or plain web components, for those islands. 11ty is great and very fast too, but you'll end up wiring up your own approach for int”
“If islands are a real requirement, stay on Astro. 11ty is great for mostly-static sites, but every interactive bit (poll, coverflow, marquee) means bolting on a separate client bundle and wiring hydration yourself. The messy theme is annoying but usually cheaper than a rewrite: keep the content collections / frontmatter shape, delete the components you don't understand, and rebuild the layouts one page type at a time. Starting from scratch only wins if the theme's data model is wrong for”
“SSE is much more appropriate in most situations. one of various good articles on the topic https://yagni.club/3mstlyuxe5s26 Also, datastar (and htmx) are backend-agnostic - you can use any language you want.”
“I'm strongly considering HTMX for future projects``` <!DOCTYPE html> <html> <head> <script src="https://unpkg.com/htmx.org@2.0.4"></script> </head> <body> <button hx-get="/api/hello" hx-target="#message"> Say Hello </button> <div id="message"></div> </body> </html><!DOCTYPE html> <html> ```”
“The problem with HTMX is not network traffic but needing to use hyperscript for anything advanced.”
“For the right use case it's awesome. I use it when I build a mostly server side rendered site that I want some / minimal dynamic content. Like for a site that has one dynamic table that has sort and filtering, but using a larger client side framework would be overkill.”
