The Barrettocracy
Barrett's Writings and Stuffs

Rails Pet Peeve

Posted on February 29, 2008 at 04:00 AM

There is something that has been bugging me since I first looked at the skateboard book. I love the framework, and I love ruby. I also love consistency.

Having a button that does something (submits the form maybe) and a link that does something else (cancels the form maybe) bugs me. I see this a lot, and it always bugs me. I understand that we shouldn't have links that do destructive things. But what's wrong with having a complementary button to the submit?

I think aesthetically functional symmetry is important when we are talking about a visual medium.

So you might catch me putting buttons in place where they ought not be according to some of the purists. Or maybe I will get used to it because I see it all the time now and get over myself. I am finding it less jarring now than I first did.

Sigh

Hierarchy: previous, next

Comments

There is 1 comment on this post. Post yours →

Barrett

UPDATE: I've had more Kool-Aid, and now I am finding that I like links for things that don't affect data - like cancel. Maybe I was just being old-fashioned and Web 1.0 with all the buttons.

Post a comment

Required fields in bold.