this post was submitted on 12 Sep 2023
42 points (92.0% liked)

Web Development

3439 readers
7 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
you are viewing a single comment's thread
view the rest of the comments
[–] cwagner@lemmy.cwagner.me 9 points 1 year ago* (last edited 1 year ago) (1 children)

motivation

  • Why should only a-tag and form-tag* be able to make HTTP requests?
  • Why should only click & submit events trigger them?
  • Why should only GET & POST methods be available?
  • Why should you only be able to replace the entire screen?

If this is what you need, and you have a decent backend, then doing it with htmx is far more comfortable as almost all your logic is now back where it belongs (and where you have access to sane languages): The backend.

-- a backend dev who also has to do frontend

* I can’t wait for Lemmy markdown to stop being fucking broken …

[–] GammaGames@beehaw.org 1 points 1 year ago (1 children)

LOL most of your markdown rendered fine in Voyager.

I can see some benefits, unfortunately they’re not issues I deal with in our current stack.

[–] cwagner@lemmy.cwagner.me 1 points 1 year ago* (last edited 1 year ago) (2 children)

Does this render fine? `` (angled-bracket-opening letter-a angled-bracket-closing, formatted as code), because I didn’t post non-working stuff.

[–] Tyfon@programming.dev 1 points 1 year ago* (last edited 1 year ago) (1 children)

Looks fine, but I didn't get highlighting

const foo=""

It didn't show on webpage, but works in Jerboa app. If you want to render block of code use three `

[–] cwagner@lemmy.cwagner.me 1 points 1 year ago* (last edited 1 year ago)

So you get angled-bracket-opening letter-a angled-bracket-closing (or in other words, an HTML a-Tag), but not formatted as code? That is weird as fuck.

const foo=""

That is meaningless, Lemmy doesn’t have issues with code, only with certain symbols.

[–] GammaGames@beehaw.org 1 points 1 year ago (1 children)

It’s just two backticks with nothing between, so probably not.

[–] cwagner@lemmy.cwagner.me 2 points 1 year ago

That is what should be there thanks to Lemmy’s markdown issues, and why what the other person said was deeply confusing for me.