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

Web Development

3431 readers
1 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 9 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 9 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.