168
submitted 1 month ago* (last edited 1 month ago) by sag@lemm.ee to c/opensource@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] RobotToaster@mander.xyz 16 points 1 month ago* (last edited 1 month ago)

Static

Javascript

Has someone changed the meaning of static? I've always thought it meant the opposite of Dynamic HTML

[-] anzo@programming.dev 6 points 1 month ago

It's been always the same. Backend, server logic, database... dynamic content; on one hand. JavaScript runs on the browser for almost anything, sometimes for dynamic content. But it's not tied. You could have an in-browser button with a counter for the numbers of times it was pressed (that's actually an entry-level programmer exercise) and that's a static site. If you saved the counter value to the server (e.g. database) then it's not static anymore.

load more comments (5 replies)
this post was submitted on 31 Aug 2024
168 points (98.8% liked)

Open Source

30919 readers
147 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS