(no subject)

May 31, 2006 11:54

So I've been working on this project at home, partly because I've been wanting the resulting data for some time, and partly as an excuse to learn ruby and rails. FWIW, since I've only been playing with both for a few weeks now, it seems like a neat system. The basic guts of the thing I'm working on have come together very quickly. I now have a web-based app that lets me tag my MP3s with tags of my own choosing, create new tags as I please and stash all the data in three MySQL tables. Easy-peasey, as long as I don't mind editing tag data on a song-by-song basis.
Over the past several days, I've been trying to figure out how to edit tags an album at a time. Retrieving all the data and building the form, now that I'm more familiar with the framework, is pretty simple. However, given the handlers I've built, processing that form is proving to be tricky. I found a few recipes that claim to do something similar and have tried modifying them for my purposes, but it's not working right just yet. There's an underlying concept or three that I don't get just yet, one of which may be AJAX.
Early this morning, I had a dream that I was on the verge of figuring it out. Actually, I had several. I remember thinking that I'd just sorted out all the important concepts in my head, had figured out a strategy for dealing with them and was about to start writing code when the alarm went off. So naturally, I hit the snooze button and went back to sleep to pick up where I left off. Once asleep, I went through the usual process of trying to shake off the effects of being interrupted, reviewing the docs I'd just read in order to put the pieces back together. And just when I'd sorted it out again and turned to the keyboard to commit my thoughts to code, the alarm went off. So naturally, I hit the snooze button...
I'm not sure how many iterations of this I went through, but when I woke up enough to realize I was never going to catch that bird and threw myself out of bed, I was running an hour late.
Previous post Next post
Up