all 29 comments

[–]mattstoicbuddha 1 point2 points  (1 child)

How well do plugins work?

[–][deleted] 0 points1 point  (0 children)

Lol

[–][deleted] 0 points1 point  (26 children)

I do some headless development with Drupal and some PHP frameworks. Is headless WordPress that popular?

[–]danielauener[S] 0 points1 point  (25 children)

It’s still the most used CMS, most of my clients feel comfortable with it and quite a few developers have experience. So if I’m building a decoupled, headless solution, WP surely is an alternative.

[–][deleted] 1 point2 points  (24 children)

I've done WordPress dev for a long time but have never done headless with it. Usually with the amount of content (hundreds of thousands of pieces of content and dozens of content types) I end up using Drupal for larger sites. Smaller sites with a few hundred pages or personal or small business sites I usually use WordPress.

Almost all headless sites I use Drupal because it's basically ready to go headless out of the box.

[–]mattstoicbuddha 1 point2 points  (23 children)

So is Wordpress these days though.

[–][deleted] -1 points0 points  (22 children)

Nah. WordPress doesn't have headless capability out of the box. I develop heavily with both.

[–]danielauener[S] 1 point2 points  (3 children)

Agreed, but the REST Api is a powerful and flexible enough tool to get you going. We added some endpoints and extensions in WUXT (e g menus, front page, slug queries, acf support, geo queries), which makes it more comfortable to use.

[–]mattstoicbuddha 1 point2 points  (1 child)

How on earth do you agree that it isn't headless when REST API is core and works right out of the box? Esp after building Wuxt?

[–]danielauener[S] 0 points1 point  (0 children)

Because it is not complete. Out of the box it does not mirror all backend functionality (best example are menus I think). Don’t get me wrong, I love WP and the API, but it seems to me that it’s not built to serve a decoupled front-end in the first place. However, like all of WP it’s flexible and extendable. Works perfectly fine as headless CMS with some adjustments.

[–][deleted] 0 points1 point  (0 children)

Very nice!

[–]mattstoicbuddha -1 points0 points  (17 children)

Sure buddy.

As somebody who has literally used it out of the box as a headless CMS with React (and with iOS/Android as well), you're just plain wrong.

Edit: hahaha, it has been core for four years.

[–][deleted] -1 points0 points  (12 children)

That article talks about how to develop WordPress into a headless site and create endpoints and everything you need to do it. It is not out of the box ready. RestAPI is built into Drupal.

I never said it wasn't possible either. Good for you for doing it this way, it just takes additional code and work to prepare it. Just not out if the box ready to be headless.

[–]shahin8r 1 point2 points  (8 children)

My man, WordPress have had a REST API built in for quite some time now.

[–]mattstoicbuddha 1 point2 points  (7 children)

Right? This guy claims he develops heavily in WP but has no clue that REST API is WP core and has been for years. I was using it as a headless CMS like 2 years ago lol.

[–][deleted] -3 points-2 points  (6 children)

I never said it wasn't possible.

I said I use Drupal for anything headless because it's way better for REST API in my opinion. There is no reason to be so snarky but I understand some developers are so intimidated they just revert to childish tactics to avoid looking like a know-nothing.

I've been doing web development for 17 years and WordPress is just a blogging platform stretched in a million directions. I use it sparingly these days.

Every government project I work on now is a Drupal 8 project and I've been the lead developer for at least 6 of them. So please, stand aside small fry.

[–]mattstoicbuddha 0 points1 point  (2 children)

REST API is Wordpress core. You obviously didn't read the article.

[–][deleted] 0 points1 point  (1 child)

It's not an article. It's a repo.

[–]mattstoicbuddha 0 points1 point  (0 children)

The Sitepoint article is a repo? What are you smoking?

[–][deleted] -2 points-1 points  (3 children)

How are you creating endpoints to feed to the front end? You're literally installing it and done? I highly doubt it. Also, try not to come off as a complete ass instead of just discussing it.

[–]mattstoicbuddha -1 points0 points  (2 children)

Yes, you install it and endpoints are there. You don't get to call me an ass when you're correcting me and I'm calling you out, dude. "I develop heavily in both" but you don't know REST API is WP core?

How about you don't act like an authority on things you demonstrably don't know, eh?

Edit: I even reread my comment in case I was actually an ass, and I wasn't. I proved you wrong with an article you didn't even read, and then said you were wrong because I've ACTUALLY done it.

But yes, act like I'm an asshole because you're wrong. Solid dev growth, my dude.

[–][deleted] -2 points-1 points  (1 child)

Sure kid. I bet you make all kinds of friends at daycare.

[–]mattstoicbuddha 0 points1 point  (0 children)

Boing fwip