Archive for September, 2007

September 17, 2007

Where’s My Jetpack?

JetpackAs was mentioned a few places on the web today, we’re proud to announce that Redfin has contributed to a project that will open source TurboGrid, the excellent JavaScript grid control made by the TurboAjax group.

We’ve been really trying to hammer on our map page performance for the last few weeks, and it became clear early on that performance of our current grid is suffering when there are a lot of houses on the map. As with many of our performance problems, it is especially pronounced in Internet Explorer 6. (Sidenote: Glenn recently told a focus group of customers that I would personally pay them $20 each to upgrade from Internet Explorer 6 or switch to Firefox, and I’m beginning to come around to the idea despite the current state of my bank account.)

The most frustrating part for me personally is that the solution for slow performing list controls is fairly well understood and exists in practically every major window library: virtual list controls. A virtual list control is one in which you don’t add all the items to the list immediately on creation but rather hand the list control a callback function instead. The list then only asks for the handful of rows it needs to display at any one moment and can therefore scale up to thousands or millions of rows. In pseudo-code, that looks something like this:


function initList() {
var list = new VirtualList();
list.setRowCount(1000);
list.setRowContent(contentCallback);
}


function contentCallback(rowIndex) {
return "this is the content for row #" + rowIndex;
}

TurboGrid uses the virtual list strategy, and it reacts much more quickly than our current grid control. Our next release will use TurboGrid to speed up the list, and we’ve been very pleased with both its performance and its feature set. So why am I frustrated? Well, it’s mostly because I learned about virtual lists in my first few months of professional coding after college in (ahem) 1997. And while browser-based AJAX development is a lot of fun, it can be disheartening when you are re-solving problems that you thought were solved over a decade ago.

In the meantime, though, we’re happy we found out about the TurboGrid open source project from the good folks at Sitepen and were able to help in some small way to make it a reality. Until we all have jetpacks, flying cars, and a built-in grid control in HTML, TurboGrid will help keep us chugging along, and we hope that users will notice the speed up (although that $20 is still on the table for IE6 users).

(Photo credit: samjuk on Flickr; Title credit: Daniel H. Wilson’s Where’s My Jetpack?)


September 12, 2007

Placing Buttons on a Submit Form

The other day Dana was busy exploring new treatments for the buttons for our offer wizard and Leo found this very relevant article on the subject, Primary & Secondary Actions in Web Forms which explores the subject using eye tracking tests:

While the primary goal of most Web form designs is to get people through a form as quickly and painlessly as possible, there are situations where slowing people down is advisable. When choosing between primary and secondary actions, visual distinctions are a useful method for helping people make good choices.

Looks like LukeW has lots of other form design articles if you’re interested.


September 11, 2007

Blogs We Like

I rounded up our developers and got a list of blogs that we all enjoy reading. I’ve included them below and also on the right sidebar under the “Blogs We Like” heading.

Ajaxian - http://ajaxian.com/
Joel on Software - http://www.joelonsoftware.com/
John Cook’s Venture Blog - http://blog.seattlepi.nwsource.com/venture/
lifehacker - http://lifehacker.com/
MS Virtual Earth Blog - http://blogs.msdn.com/virtualearth/default.aspx
Slashdot - http://slashdot.org/
TechCrunch - http://www.techcrunch.com/

Like a blog that’s not on this list? Write a comment!