Category Archives: WordPress

The open source publishing platform I co-founded — development, releases, community, and the ecosystem.

Should We Have Hidden Options?

Alex King has recently suggested that we have an about:config for WordPress. When I first thought this I thought “great!” because we’ve had this for several versions now: if you browse to options.php directly you can edit any option in the database, even those that have no UI because they’re from plugins or just something we don’t expose.

However after several comments pointed this out Alex began clarifying his request, some of it isn’t entirely clear to me (I would never want to go back to storing configuration in files, that was a nightmare we eliminated in 1.0), but the main gist is not merely exposing an interface to the options we have, but rather adding many more options to the code to allow for more than one way for some core parts of WordPress to work.

With that clarification, I think it’s pretty safe to say that something like that will probably never be incorporated.
Options have several costs, which is why we avoid them fairly religiously in WordPress. The most obvious cost is UI clutter — everyone wants their 15 pixels of fame and configuration screens quickly devolve into pages of utterly confusing junk no one understands or cares about.

A very closely related problem is user frustration. With WordPress we’re trying to make publishing to the web as effortless as humanly possible, and one part of this is taking care of a thousand little details that really shouldn’t ever cross your mind — if we’re doing our job right. One common reason for the proliferation of options in open source software is that (news flash) people often disagree about how things should be done, often violently and vocally in threads that can drag on for weeks on development mailing lists. (It is frustrating for many people that these option flame wars draw more discussion than useful topics or questions.) Few like fighting about things, and project leaders pull the proverbial car to the side of the road and declare “Screw it! We’ll do both!” To satisfy a handful of developers a burden is put on countless users.

I try to build everything imagining I have a million users. (Someday!) Small things add up — if there is an option in the interface that people have to think about for only 2 seconds (which is probably low) across a million users that’s 23 days (555 hours) of time lost to the world! (Call centers track efficiency per second because of similar constraints. Small things add up.)

Alex’s hidden options don’t trigger either of these by definition. However there is a third hidden cost: as the number of options increases it becomes difficult (or even impossible) to test for all possible combinations of how the options may interact in different enviroments. This also makes support a real bear. Costs go up, bugs increase.

This is why we say no by default to pretty much every suggested option, and we do our best to remove the ones that have built up over the years. (I just axed a whole panel earlier tonight.)

All that said, hard-core developers often need flexibility in the system to expand WordPress to things we’ve never even imagined, and that’s where our plugin system comes in. While we often say no to new options, we rarely ever shoot down a suggested extension to our plugin API. The beauty of this is it allows for near-infinite flexibility in how you interact with the program (there are some amazing plugins out there) while still keeping the core light, clean, stable, and fast. It also makes support relatively painless: “Does it work when you deactivate the plugin?” When someone says they want to do X and it should be core because it can’t be a plugin, 9 times out of 10 I see that as a plugin API bug, not a core bug.

In summation: Don’t waste your users’ time like I just wasted yours with this essay and be mindful of hidden costs. If I had a few extra hours I would edit and cut most of it out. (Good thing I don’t have a million readers.)

WP.com in Red Herring

Just landed in Houston, it’s chilly here. The opening up of WordPress.com got a nice write-up in Red Herring earlier today. Just to clarify two things from the article quickly: I’m working on WP.com with Andy, Donncha, and Ryan and I do think our distributed database architecture (which I’ll write more about later, it’s nothing too fancy) will help us scale cheaply but I’m also a strong believer in big things from small teams, much in the spirit of 37signals.

Lucky Orbitz

I just booked a flight to Vegas for the IP4IT conference, where I’m on a panel with Mr. Wikipedia Jimmy Wales, and the Orbitz waiting graphic popped up a talk bubble that said “Say hi to lady luck for me.” How nice! It’s little things like that which make me use Orbitz more and more, not to mention the prices it gives me are great. I’m not looking forward to booking a Thanksgiving ticket to Houston, though. (BTW, if there are any Vegas WP users drop me an email and we may be able to get together, though I’m only there for the day.)

Akismet Stops Spam

Akismet is a new web service that stops comment and trackback spam. (Or at least tries really hard to.) The service is usable immediately as a WordPress plugin and the API could also be adapted for other systems.

I must say, this has been one of the more rewarding things I’ve worked on lately — when people tell you they’re able to spend more time with their family because they’re not spending 30 minutes a day dealing with spam it really puts things in perspective. If nothing else, I hope this makes blogging more joyful for at least one person.

Anyway, try it out, install it for a friend, link it on your blog. The more you use it the more effective it becomes. It’s a virtuous cycle that will hopefully curb the spam arms race.

Update: The reviews are starting to come in. Here’s some one with stats (from when the service was still in development).

Leaving CNET

It was just about a year ago I blogged about leaving Houston and driving across the country to join CNET. It ended up being one of the best moves of my life. Since moving to the Bay Area I’ve had incredible oppurtunities and met a whole tribe of amazing people. For what I’m passionate about, I really believe this is the best place in the world to be.

For me the last year has really been about learning. From school in Houston to CNET to the explosive growth of WordPress and Ping-O-Matic, it’s been an incredible ride. There have been plenty of mistakes along the way, but all-in-all I don’t mind because that’s when I learn the most. At CNET I was lucky enough to be surrounded by veterans of the industry whose success and perserverance through the thick and thin of creating what we know as the web had a deep impact on me. CNET also gave me incredible flexibility to work on WordPress, and has embraced WP all over their organization, it was really the ideal gig.

However in the back of my mind I was wondering if I could focus on my passions full-time, to put more daytime hours into the community and projects that have changed my life already. I don’t need much, and working on WordPress full-time is my idea of heaven. I gave notice (they’ve been incredibly supportive).

I could say this was a hard decision, but the truth is I can’t imagine myself doing anything else.

Watch this space, I’ll have plenty more to talk about in the next few weeks. I’m very excited about the things happening with WordPress.com, WordPress.org, bbPress, a WordPress non-profit, Ping-O-Matic, and a few projects so shiny they don’t even have names yet.It’s a little scary to be leaving the safety net, but nothing worth doing in life is without risks.

My last day at CNET is Friday, October 21.

If there is ever going to be a time in my life to take big risks and reach for the brass ring, now is it.

More on Ubuntu

So after starting the installation a few minutes ago, Ubuntu is up and running! I’m really more shocked than anything, I had already put 6-10 hours in getting Gentoo running and then it just wouldn’t work, probably something to do with my SCSI card. Ubuntu just worked. I’ve got a beautiful desktop running right now. I plugged in a USB mouse and it works with the scroll wheel. That might not seem trivial, and it is if you’re on Windows or a Mac, but my previous experiences with desktop (as opposed to server) Linux have been so awful, this is like heaven by comparison. And installation was so easy… Ubuntu is the WordPress of Linux distributions.