• chrash0@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    ·
    7 hours ago

    WordPress powering the backend through a custom REST API. That’s pretty normal, as nearly 42% of all websites on the internet are powered by WordPress.

    is this normal? of course WordPress is popular for websites, but why a REST API? most of this seems just like shoddy junior work. probably vibe coded by someone who thinks software engineering is obsolete

    • MonkderVierte@lemmy.zip
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      5 hours ago

      Actually, Wordpress is made for blogs and the plugin architecture (to do things like shopify) has heavy security issues. If you don’t make a very basic blog, use a different framework. And if you do, better look into static site generators.

    • Denys Nykula@piefed.social
      link
      fedilink
      English
      arrow-up
      12
      ·
      6 hours ago

      Because their app is essentially a website. News, videos, photo galleries. WP REST API is useful for writing a front-end using a different language than PHP while keeping the very convenient admin interface that most content managers are familiar with.