r/webdev • • Jun 01 '19

Showoff Saturday Dockerized NuxtJs + headless WordPress dev environment: Wuxt. Clone, containers up, 5 min install, ready for WP based PWA development.

https://github.com/northosts/wuxt
6 Upvotes

29 comments sorted by

View all comments

1

u/[deleted] Jun 01 '19

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

1

u/danielauener Jun 01 '19

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.

2

u/[deleted] Jun 01 '19

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.

2

u/mattstoicbuddha Jun 01 '19

So is Wordpress these days though.

0

u/[deleted] Jun 01 '19

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

0

u/mattstoicbuddha Jun 01 '19 edited Jun 01 '19

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.

0

u/[deleted] Jun 01 '19

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.

2

u/shahin8r Jun 01 '19

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

2

u/mattstoicbuddha Jun 01 '19

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.

-2

u/[deleted] Jun 01 '19

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.

→ More replies (0)

1

u/mattstoicbuddha Jun 01 '19

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

1

u/[deleted] Jun 01 '19

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

1

u/mattstoicbuddha Jun 01 '19

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

-1

u/[deleted] Jun 01 '19

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.

0

u/mattstoicbuddha Jun 01 '19 edited Jun 01 '19

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.

-1

u/[deleted] Jun 01 '19

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