this post was submitted on 12 Sep 2023
41 points (90.2% liked)

Web Development

3443 readers
5 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
all 13 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago (4 children)

I’m always kinda surprised when I see htmx. What’s the perks? I already have my stack, why should I change? I looked into it recently and it looked really unappealing

[–] [email protected] 4 points 1 year ago (1 children)

It becomes pretty nice if you use a templating engine to generate html server side. Context: 95% of my work projects are java with spring boot and JavaScript applications for the front end.

I used turbo (other js library, very simmiliar) for some prototypes and having the complete state of an application in the backend and the ability to reuse so much of my html templates allowed me to iterate pretty fast on ideas. And using htmx or turbo does not mean you can't write js ever, but you can use it for purely ui functions and leave a lot of application logic to the backend, while still avoiding full page reloads and other cool features of typical JavaScript applications.

Big fan of the idea behind htmx, would love to actually use it for stuff that goes into production. I guess it would also be really nice for existing projects with lots of html allready written.

[–] [email protected] 2 points 1 year ago

I can see some of the benefits, especially if you’re making something very form heavy. Thank you!

[–] snowe 2 points 1 year ago

fireship has a good video on it. https://youtu.be/r-GSGH2RxJs

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

It might be seen as an alternative/evolution/improvement of html5 maybe ?