this post was submitted on 17 Jan 2024
17 points (100.0% liked)

Web Development

2973 readers
15 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
top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 10 months ago

Or the cursed option: we might as well go full circle and have the server be XML APIs, and use XSLT to convert the XML to HTMX and your apps can just speak the lower level XML protocol. XMLX when?

[โ€“] [email protected] 3 points 10 months ago

I'd go a step further and suggest, make your backend itself an API that uses JSON and whatever. Then the web backend talks to the API and spits out HTML. And it can do whatever is needed to support HTMX without having to worry about how it will affect the API and you can't end up with web exclusive features unintentionally.

And you don't have logic duplication where you can forget to add an auth check to a web controller or the API.