RegisTrap 0.4 released

Luckily the bug in RegisTrap I discovered yesterday after upgrading to WordPress 2.7 turned out to be a very minor one. I just had to move the return $errors; line outside of a conditional in my function to ensure that it’s always returned, even if no error value was set. In the previous version of WordPress, it didn’t matter that if there were no errors the function was returning… well, nothing… but in the new version it seems you can’t apply an error handling filter without returning a WP_Error object.

Anyway… it works now, and you can download version 0.4 right now from my site. I’ve also checked it into the main WordPress Subversion repository, so it should be showing up on the official site sometime fairly soon. Enjoy!

Special thanks to Jenny for happening to try registering for the site within about 8 hours after I had upgraded, and bringing the problem to my attention. Otherwise I might have gone days or weeks without knowing the plugin was broken!

It’s definitely still necessary though, because in about a day of running my site without the plugin I had already received over a half dozen spam registrations.

The iPhone version of Amazon.com is better than the regular version of Amazon.com

Amazon.com (as if you don’t have it bookmarked) is (probably, still) the undisputed king of the mountain of e-commerce. Even though many of Amazon’s former brick-and-mortar partners, like Target, have since gone off and launched their own (usually better) individual e-commerce sites, Amazon is still at the heart of it all and is the go-to choice for buying… well… just about anything online. These days, as I’ve noted before, I use it mostly to buy MP3 downloads, which despite my usual criticism of Amazon in general (wait for it!), offers a great selection, better prices, and higher quality than iTunes… and no DRM.

But that’s not my point today. My point today is to address that one usual criticism I have of Amazon: their design sucks. And I am talking about both the surface-level graphic design and layout of their pages, and also much of their application flow as well. There are two main ways in which I think their design fails: there’s too much of everything, everywhere, all the time on their site, and (consequently, perhaps) many options that I think should be prominent and visible are instead hidden in microscopic type at the bottom of the page.

Case in point, from the Amazon MP3 realm: as a web developer, I’m constantly tinkering with web pages in ways ordinary users do not, and as a result I am frequently clearing my cache and my cookies. Now I could be careful and just delete the cookies from the sites I’m working on, but I’m usually in the middle of something and therefore in too much of a hurry, so I just delete them all. (And, yes, waste a lot more time in the long run retyping all of my usernames and passwords for the sites I visit… but at least that helps me remember my passwords!) As a result, I lose the cookie that tells Amazon that yes, dammit, I did already download and install your MP3 Downloader app so I don’t need to download it again! The first couple of times this happened, I was dumbfounded, and frustrated, and I re-downloaded and reinstalled the application, even though I knew I already had it. Finally I scrolled down and discovered a sentence in 8-point type telling me that if I already have the downloader app, I should “click here” to activate it in this browser.

Yeah, thanks.

Which brings me finally to my point. Today I finally took the plunge (what with it being Black Friday and all), and bought myself an XBOX 360. Later in the day I was sitting inside a Caribou Coffee (which itself was inside a Lunds grocery store), enjoying a Cinnamon Wild (though not as much as I would have enjoyed a Gingerbread Latte), and I decided to check the IGN Reviews app on my iPhone to see what good games were coming out for the 360, the better to fill up my Amazon wish list (one of the primary reasons Amazon is still so central to the e-commerce universe).

Once I had picked a couple of games I felt that, yes, I wish for, I decided to go right to Amazon on my iPhone and add them to my wish list.

Many websites have decided to leverage the popularity of the iPhone and also to adapt themselves to its cramped 480×320 screen real estate, by developing iPhone-aware versions of their sites. They detect the browser is an iPhone, and so direct the user to a streamlined, stripped-down version of their site that will be more manageable on the iPhone’s screen.

And you know what? A lot of times, but perhaps none more so than is the case with Amazon, this streamlined, stripped-down version is in fact better than the usual bloated, overstuffed standard version of the site. If they want you to actually be able to go about your business with their sites on the iPhone, they have to stay focused and not waste a single pixel with distractions and clutter.

Sometimes the sites have predictable, distinct URLs for their iPhone versions. It’s common these days to preface the URL for a mobile (read: regular cell phone) version of a site with “m.” and occasionally then the iPhone version with “iphone.” But sadly Amazon’s URLs are as cluttered and inscrutable as many of their pages are, so an iPhone-specific Amazon URL was not immediately apparent to me, and beyond that it seems that their site is handling the iPhone version as a more integrated feature rather than a separate standalone version of their site.

Too bad, really, because if I could I think I would use the iPhone version of Amazon.com all the time.

(For what it’s worth, I am aware that Amazon’s iPhone version has existed for over a year; it’s just that I had never bothered to use it before today, and besides, most of the attention it received upon its debut focused negatively on the fact that it was un-iPhone-like, without also recognizing, positively, that it was un-Amazon-like.)

The Guardian gets newspaper web design right

Most newspaper websites are cluttered but utilitarian at best. Many, like my local paper, have undergone elaborate and expensive redesigns in recent years but still suck ass, if for no other reason than that they can’t really get the interface right and so are interminably tweaking it, not to mention that they allow their advertisers to shit all over the page layout with intrusive Flash overlays that jump out unexpectedly and cover what you’re reading if you let your mouse hand drift across the wrong spot on the page.

I’ve noticed in general that the British media seems to have more design sense, in that they actually seem to care about making things usable — in other words, facilitating the dissemination of information — as opposed to first and foremost making a buck, no matter how crass the means.

I don’t think I’ve ever looked at a newspaper website, though, and said, “Wow, that’s really good design!” but that all changed today when I saw the new site for the Guardian.

Maybe it’s the fact that there’s no advertising whatsoever on the home page. At least that’s a start. The layout is clean and well-organized, and doesn’t feel crowded or overwhelming, even though there are four columns and approximately 85 gazillion links on the page. Something else that helps: color coded sections. There’s risk in using a lot of different colors in a design. The page could easily end up looking like My Little Pony barfed all over it. But the nine different thematic colors are represented solely by colored type in the navigation bar at the top (no colored rectangles or obnoxious 3-D tabs) and by thin horizontal bands identifying the beginning of each section’s home page real estate.

True, on my 1280×800 display, the home page scrolls to the height of seven screens. A bit much, but the aforementioned organization keeps things manageable.

Ultimately, the designers have somehow managed to find the optimal midpoint between bland, utilitarian black-and-white monotony and retina-scorching, brain melting sensory overload. And in the land of newspaper websites, the space between the two is surprisingly small.

It’s no wonder that they won Website of the Year in the British Press Awards. Kudos!