Rails: First Steps
I thought i’d report back here to tell you how much progress i made (with RoR). Well, to be honest, not that much. But as always I learned some other useful things in the progress. Anywho, as you can see in the photo i created a little rails application which takes a search string and returns the image results from flickr and yahoo image search. Flo inspired me to do this, and i was planning on adding other search engines as well (Google Images, MSN Image Search). The good thing about flickr is that there is a ruby gem called ‘flickr’ which does everything one could need, albeit reaaally slow (takes 3-5 sec. per image, somethings wrong there). The same guy also created a yahoo-search library, but for some reason didnt include the url for the thumbnails cached at yahoo, which is why i had to implement it (easy though). Having looked at the flickr, the yahoo and the google api for search request i can say that i cant stop padding the shoulder of the flickr-guys. Not only is their whole service really great but the api is as well.
Now, i cant say that developing it has been much fun so far. Sure, rails is cool when you do what its supposed to do. Like create a form which sends something and using the magic that is ajax re-renders a part of your webpage. Cool thing, and compared to writing it yourself (like in the current german it magazine c’t) it saves you a lot of time. But then you reach a point where you ask ‘how can one form call multiple methods which update multiple regions in turn’ or ‘i dont get this whole render :foo principle, why can there only be one render command?’ and finally ‘why do the flickr results take so f***ing long to render?’
[tags]ruby, rails, flickr, yahoo, search, engine, web, development[/tags]

Which tutorials did you use? I already know about the Screencasts and the interactive Ruby-tutorial but I’m searching for some other nice howtos .. Any suggestions?
sure. first i read the tutorials at http://rubyonrails.org/docs (especially the ONLamp tutorials), then i looked through the big number of howtos at http://wiki.rubyonrails.com/rails/pages/Howtos and then while i was coding i often checked the rails api at http://api.rubyonrails.org/ and the ruby class and reference library at http://www.rubycentral.com/book/builtins.html
also i keep my pentabarf svn tree updated, and look through the code now and then. but i guess it takes ages to really get into it like sven is ;)
Oh, that should do it for the first lines of code .. ;) Thanks.
Ah, btw: Any good Ruby-tutorials available as well? :) (Ruby, not just Rails :))
sure. first there is the really long, sick, written-under-drug-influence guide http://poignantguide.net/ruby/chapter-3.html here, and then there is a quick explanation of some basic stuff here http://www.slash7.com/articles/2005/01/24/really-getting-started-in-rails
Cool thing, thanks. :)