45
submitted 1 year ago by Pekka@feddit.nl to c/webdev@programming.dev

htmx is a very different way of developing your web application. You can define a lot of behaviour inside your HTML with the new attributed added by htmx. This allows you to build an interactive website without using any JavaScript. You do need a REST API that returns HTML though.

For more information about HTMX you can read the htmx docs.

top 5 comments
sorted by: hot top controversial new old
[-] martinb 3 points 1 year ago

Thanks for sharing. I'll have a read when I finally get back to my pc

[-] httpjames@sh.itjust.works 3 points 1 year ago

Cool concept, especially with making pure HTML feel responsive, but API endpoints returning HTML is definitely impractical for large applications. I wonder if XSS is a concern by default.

[-] eluvatar@programming.dev 1 points 1 year ago

Yeah, talk about tight coupling, it's like the opposite of graphql

[-] kglitch@kglitch.social 1 points 1 year ago

There's no coupling because there isn't really a front-end to couple with ๐Ÿ‘

[-] DiamondDemon@programming.dev -1 points 1 year ago

sounds like PHP. are we gonna have another PHP situation on our hands?

this post was submitted on 10 Jul 2023
45 points (100.0% liked)

Web Development

3313 readers
3 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