The fruits of my labor

I haven’t mentioned it here, but I spent the better part of the last two months on furlough. While I understood, conceptually, that it was a temporary thing and no fault of my own, I took it kinda hard initially–there’s an implicit message of uselessness there that’s hard to get around.

Once I got over that (i.e. after the first month), I finally sat down and tried to create my first Rails app. My sister really loves books, and wanted some sort of way to track them: the ones she owned, the ones she wanted, the ones that were eligible for Amazon’s four-for-three promotion, that sort of thing. It was a nice fit for trying to learn Rails–not too large a scope, but you’d definitely need to fiddle with things a bit.

I dubbed my program Bookoff, after a Japanese used bookstore chain. I’m really proud of how it turned out. So proud, in fact, that I bothered to record a little video and upload it here (click through; it’s a big screen, so I’m not going to bother trying to embed it):

Bookoff video demo

Not bad for a first outing with Rails, eh? (Psst: don’t bother trying to read too much into the books listed; I was just grabbing random titles off the top of my head and from the front pages of Amazon.)

The time I spent pulling up the “Comic” graphic novels was trying to show that the program uses natural sorting (one of a few bajillion things I butted my head against): by default, databases sorting by name would have sorted those volumes as

  • Comic 1
  • Comic 10
  • Comic 2
  • Comic 21

which is pretty silly.


2 Responses to The fruits of my labor

  1. Barry says:

    Sexay! Way sexier than :-D

    Could put it up on github?

  2. Brent says:

    I’m still a bit wary about sharing code–however silly that is, considering how much shared code I used. Also I’m barely competent at using my own private git repository, let alone github… plus everyone and their cousin would point and laugh at me for my lack of testing.

    [As far as my response time: better late than never?]


Leave a Reply

Your email address will not be published. Required fields are marked *

powered by wordpress