Hacker News new | ask | show | jobs
by ggm 2095 days ago
Is wp still php?

What if you want a cdn outcome which doesn't drive to an sql backend?

I've yet to experience wp consciously without it making me wince. I know a lot of former print press is using it, so the for profit sector likes it. That does not axiomatically make it best of breed.

Being php is also not axiomatically worst of breed. The questions are decoupled really.

1) is wp still php

2) is wp best of breed.

3) if you want static site through cdn is wp the best fit?

4 comments

Changing from PHP wouldn't change WordPress, it's general engineering approach hasn't changed since it gained popularity a decade or more ago.

Except for Gutenberg, which could be characterized as an admin facing HTML editor powered by React components but with an interfacing layer between Gutenberg and React, so only some of your React knowledge applies. It gets saved as HTML. The actual served content is still served as PHP generated HTML. React isn't involved in the client workflow.

All of this javascript code is of course bootstrapped and defined by PHP hooks including dependencies, and redefined again in the JS, so you're constantly diving between PHP and JS just to set up the JS.

Now to work on WordPress idiomatically you need a whole new set of skills that introduce a whole new slew of problems. So it's not best practice or well engineered PHP, and it's not best practice or idiomatic React. The docs for Gutenberg are incomplete, so no luck there either.

Another platform that failed in this same way was Magento 2. They want to use the Cool Kids Tooling, but they want to do it their way, so there's all this Bullshit™ inbetween and you get a hamfisted barely documented Frankenstein's monster. The third party tooling docs can't help you because of the proprietary integration making much of it no longer apply, and all the novel domain knowledge to get it to work is floating around in Stackoverflow threads and github issue tickets.

How can you comment so negatively on WP when you know so little about it?
Because I've had to install it, maintain it, and produce contents for it, and never enjoyed it.
And you had to ask if it's still written in PHP?
I believed there are multiple versions including paid support models for commercial use. I wanted to know if the one(s) you buy are based off the same code as ones you run yourself. Not all things are dogfooded.
> I've yet to experience wp consciously without it making me wince.

You might be surprised to hear that likely a third of the websites you visit run WordPress. [0] So it’s not really constrained to just former print, it’s basically any site that needs to have a lot of content.

I think it can be argued that WordPress is the best CMS out there because you can really make it do just about anything you need if you know PHP. (And the built in extendability systems are pretty powerful.) It’s powerful, fast, flexible, etc.

The real problem with WordPress for most users is that it’s difficult to set up a nice site unless you either have a perfect theme or you take the time to figure everything out.

This is why Gutenberg is so important for WordPress: it’s basically reimagining the site in terms of “blocks” so that we can eventually have a unified editing experience for all parts of the site. Instead of digging through a ton of different settings and customizer and appearance pages, it’ll mostly be in a unified UI. So making that powerful and easy to use is a big project at the moment.

- 0: https://w3techs.com/technologies/details/cm-wordpress

No, the real problem with WordPress is security and code quality of plugins, of which you require a lot.
These are most of the time not the good questions.

Can WordPress be deployed by anybody ? Yes, there's a ton of PHP hosting providers and they all have a one-click install WordPress button.

Does WordPress enable authors and owners to update their website content and the design with a WYSIWYG interface ? Yes and yes (see divi, beaver, etc.).

Is that a good fit for w3c against all the other choices?
That is a different question from your first comment.

Please stop, it's going nowhere.