Live data from Hacker News

Ask HN: What CMS are you using in 2022?

news.ycombinator.com

31–40 of 40 posts

Re: Ask HN: What CMS are you using in 2022?

#31
Legacy stuff is still WordPress if it has any interactive elements like e-commerce, but anything else, merely using WP locally or on subdomains for clients as an editor to produce static files that then get automatically pushed via git to CloudFlare Pages, or GitHub Pages.

Re: Ask HN: What CMS are you using in 2022?

#32

Clients and marketing teams love Wordpress. I also enjoy it because I can ship websites fast while doing less work. But everyone here hates it. Is this some sort of alternate reality?

I'll take a guess and say your websites don't require a deep level of customization. The hate comes when devs are asked to make wordpress work in ways wordpress wasn't built to work. And plenty of people here are devs, so I imagine they're frustrated with that.

Re: Ask HN: What CMS are you using in 2022?

#33

As someone who dabbled in PHP but is mostly a self-taught JS hobbyist dev, I have been using and loving Directus ( https://directus.io ) since around the time they switched to Node. Development velocity is exceptional with new features released every couple of weeks and bugfixes/enhancements even more frequent, the community and core team is fantastic, and I like the fact that if I ever decide to switch to another CM…

I really wish directus had a simple "cookie" based auth, and not all this crazyness with a cookie + refresh token + renewals + refresh + JWTs +... I was trying to use it with Next.js, where I needed to authenticate the current user server side to fetch some data and it was by far the most overcomplicated part of my application.

We ended up switching to Django, where just an traditional http only secure cookie which we "proxied" from Next.js to the frontend and back was enough and maybe even more secure than all the mangling we had to do with the refresh tokens, etc.

I really wish this trend of fancy authentication mechanisms goes away. It doesn't take in account how easy they make for people to mess up on their implementation/usage of it when things are too complex.

Re: Ask HN: What CMS are you using in 2022?

#34

As someone who dabbled in PHP but is mostly a self-taught JS hobbyist dev, I have been using and loving Directus ( https://directus.io ) since around the time they switched to Node. Development velocity is exceptional with new features released every couple of weeks and bugfixes/enhancements even more frequent, the community and core team is fantastic, and I like the fact that if I ever decide to switch to another CM…

I really wish directus had a simple "cookie" based auth, and not all this crazyness with a cookie + refresh token + renewals + refresh + JWTs +... I was trying to use it with Next.js, where I needed to authenticate the current user server side to fetch some data and it was by far the most overcomplicated part of my application. We ended up switching to Django, where just an traditional http only secure cookie which w…

I feel you there - I do always feel like I'm writing a lot of code for something that should be better abstracted away - if I send a u/n and p/w once, then I should be logged in until I log out (or my session is invalidated server-side), and I'm always worried that that doesn't happen properly when I use the SDK.

I THINK it does, but I got burned once when it broke last year around the 9.0.0 update, and now I struggle to trust it...

I tend to end up doing something like this: https://github.com/directus/directus/discussions/10101

Re: Ask HN: What CMS are you using in 2022?

#35
Nice way to outsource tech research.

As an indie hacker creating new products, and reducing tech debt of older, stable products, scouting for the right tech tools (CMS, CI, cloud services, libraries, etc) represents ~40% of my time. And 90% of it is spent learning something I will discard.

Having hn folks electing the top 3-5 candidates saves a lot of time!

Re: Ask HN: What CMS are you using in 2022?

#36

Earlier quoted context omitted.

I really wish directus had a simple "cookie" based auth, and not all this crazyness with a cookie + refresh token + renewals + refresh + JWTs +... I was trying to use it with Next.js, where I needed to authenticate the current user server side to fetch some data and it was by far the most overcomplicated part of my application. We ended up switching to Django, where just an traditional http only secure cookie which w…

I feel you there - I do always feel like I'm writing a lot of code for something that should be better abstracted away - if I send a u/n and p/w once, then I should be logged in until I log out (or my session is invalidated server-side), and I'm always worried that that doesn't happen properly when I use the SDK. I THINK it does, but I got burned once when it broke last year around the 9.0.0 update, and now I struggl…

Yeah, that's the point. I think the SDK is not that helpful when running code in the backend (SSR).

What frustrates me is that I don't get what's wrong with just using the traditional http-only secure cookie backed by a server side session. That just works, and it's one of the most safe ways to do it. Even banks do it that way. All the JWT temporary refresh token whatever sounds like somebody was just bored and wanted to have fun. Sorry, I was pretty burned out about this. So much that we ended up swapping it for something else.

Re: Ask HN: What CMS are you using in 2022?

#38

  - The typical mom & pop business: Squarespace
  - Any company without in-house technical leadership: Wordpress + Simply Static
  - Any engineering-focused company: Sanity
These recommendations account for common requirements each tier of company typically has

(i.e. long-term maintenance, hiring, and technical features like internationalization)

Re: Ask HN: What CMS are you using in 2022?

#39

Earlier quoted context omitted.

Can host which is not properly set up slow down the WP? In the past year, every WP website my company did became too slow, even I noticed it when using admin panel for adding new features, I mean it's barely usable, constantly throwing 404 errors. Also, the clients started complaining heavily, but I'm unable to come up with the solution since on test server everything works perfectly. I also had some suspicious that'…

Use Pantheon. Expensive but absolutely worth it, best WP and Drupal host bar non. It's hard to diy it right. You basically have to cache and invalidate like mad and then put varnish and a cdn in front of it and invalidate those too. It's ugly. Pantheon takes care of all of that for you transparently.

That sounds great, I'll check it out. Thanks!

Re: Ask HN: What CMS are you using in 2022?

#40
post #12

I use my email inbox as my cms. Emails (can) have attachments, a subject line, delivery time stamp, and formatted text as content which means that for many use cases, an email is an effective CMS. E.g., blog posts and static pages like /about or /faqs can easily be done using emails…just needs a bit of creativity.

Can you update content via it? E.g. you find a typo or need to append to an existing slug.

There’s an admin page where you can manage the slug and preview (which correspond to the link url and meta description). E.g., if your email subject is “hello world”, your url will be “/hello-world-a1b2c3d.html” and the default preview/meta description will be the first 200 characters of your email. Now, the admin page lets you edit the subject and the preview. So if you change the subject to “Goodbye World”, your url will change to “goodbye-world—a1b2c3d.html”. Notice how a1b2c3d stays unchanged? That’s the string used to identify the email internally.

I haven’t exactly implemented post editing but I have a Medium style post editor built into my inbox. Next step will be to surface the email in the inbox and reply to myself with the correct content.

Also, sorry for the late reply. I didn’t realize someone had replied to the original comment. Hope it helps.

Post reply on HN