You're not better than WordPress

If that title left you feeling a bit indignant, this post is just for you. After consulting with my Nth company running a content site and watching them struggle to design, develop, and maintain their own CMS, I think it's time to admit this: I'm not better than WordPress. None of us are. WordPress is a fantastic piece of software and trying to roll your own CMS for a simple content site today is just sheer dead insanity. A wise man once said:

It is the duty of every good developer to try to code themselves out of a job.

That man was me, by the way. This wasn't meant to say that you should just quit your job and go live like Thoreau in the woods. It's meant to say that you should embrace ideas, principles, and systems like Don't Repeat Yourself, Minimum Viable Products, Keep It Simple, Stupid, and the Single Source of Truth. These principles all engage pragmatism as related to programming process and design and encourage us to do things once and do them well. Something that we as designers and developers constantly forget is that these principles don't just apply to the one software project we're working on right now; These principles apply to everything across the software ecosystem and indeed across time. Don't solve problems that have already been solved! That includes problems that have been solved by other developers, in other industries, and years into the past.

If you needed somewhere to sit you wouldn't go chop down a tree and build a chair, would you? When you want to listen to music you don't start soldering buttons, resistors, and RAM together, do you? When your clothes are dirty, do you start designing the best way to wash them or do you just pop them into the washer and dryer that somebody else already built? So when you need to put a simple blog on the internet (and yes, your site is just a blog) why would you hire a team of developers to start creating a CMS for you when there are already plenty of options out there?

What I see time and again is that people reject using Wordpress for 1 of 2 reasons. The first is that they just didn't do their research properly and they didn't learn what's out there and what the strengths of various frameworks are. The second is that they just plain think they're too good for WordPress(This is basically a textbook example of the Dunning-Kruger bias). Well, I'll admit right away that WordPress is not sexy anymore. It's not the perfect solution to everything. And seemingly in spite of everything good in the world, WordPress runs on PHP and ... ew.


WordPress is an excellent choice for a content site CMS

Here's why:

When you should definitely not use WordPress:

  • You're working on an application or other site that is not content-based. That is to say that your application is heavily interactive and focuses on users taking action rather than just looking at things.
  • You're a developer yourself and you're only running a blog. WordPress is easy but you can probably do better. Make a static site or write your app in Lua or something crazy like that. Be interesting!
  • Hosting or especially streaming media. WordPress is just not a music or video host. It can be but it's just not.
  • If you hate happiness and want to work on something redundant for the next several years.
  • You're an arrogant bastard and think that you can do it all and you can do it better. You probably have an IQ of like a million and find tasks like reading the entire dictionary in an afternoon to be trivial.
  • You got in a fight with Matt Mullenweg in 6th grade and you've never forgiven him for it.

All of these things are solved problems and you can do all of them very easily with WordPress:

  • Blogging
  • Media
  • Complicated media styles
  • Editors inserting code
  • Permissions management
  • Social media integration
  • Oauth
  • Running multiple sites on one install
  • Importing and exporting data to and from any other service
  • A/b testing
  • Analytics

You don't even need to worry about hosting! PHP configs, MySQL configs, networking, backups, ports, routing, and memory management are all things that have been solved already and are available to you in stunningly simple and affordable services like WP Engine and WordPress VIP. Or roll your own service but take advantage of the work done by others with something like the WordPress Docker image.

Wordpress has methods for absolutely everything. Whatever it is you want to do, there is a more secure and efficient way to do it with a native method. I never even needed to learn sql when I was a Wordpress developer because the database abstractions are that good.

Backups and migrations? WordPress has things like the Heartbeat API that will automatically store versions of articles as you write them. Your entire site config is stored in the database and a litany of plugins will help you quickly set up hourly, daily, and monthly snapshots of your entire database.

Say to yourself "It's just a blog" and repeat until you believe it

I've worked on plenty of WordPress projects before. I've written themes and plugins and even made a tiny contribution to WordPress itself. I wrote the plugin to easily add CORS headers to your site (a function which is now built into WordPress core). This post is not an endorsement of WordPress as the solution to every site and every problem. After everything I've done with WordPress already I'd rather work on more interesting problems like design systems and getting my time-to-glass as low as possible on 3G networks. So, in the same vein, this post is meant to encourage you to think about the problems and projects you face and attack them pragmatically. Let other developers deal with solved problems for you and work on interesting things yourself! Get out there and code yourself out of a job!