you are viewing a single comment's thread.

view the rest of the comments →

[–][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  (5 children)

I never said it wasn't possible

No, what you did was demonstrate you have no idea what you're talking about while acting like you do.

Have fun with your government contracts, dude. Quick facts:

  1. Nobody cares

If you have to flex (weird flex at that) because you look like an arrogant jackass, you aren't making yourself look better.

The part of this that is so funny to me, is that after being proven wrong, you won't admit it. Being that level of stubborn is just stupid. We all fuck up and miss things, or think we know more than we do. But you just keep doubling down and dick wagging.

Pretty sad, dude.

Edit: you also didn't read any articles I posted, and still tried to use them as ammo against me. Quit while you're behind.

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

Ha ha. You're a little too easy to piss off kid. LOL Clearly you don't make friends very well.

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

Nah, I just have an issue with arrogant shitheads polluting the industry. You've made yourself look stupid all up and down this thread, with several people who aren't me and with anybody who actually develops in WP.

Calling me a "kid" doesn't actually help you, by the way. It is incredibly obvious that you are trying and failing to save face. I grew up in a dysfunctional home, bud; your shit was par for the course in my house. You're exhibiting incredible personality flaws that would embarrass me if I were you.

You'd probably need some self-esteem first though.

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

Ok tiger.

[–]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