random ruby thoughts from a random web developer

Petyo on ruby, rails, web, and what not.

swfaddress rails sample – my modest contribution to an open source project

leave a comment »

My friend Rostislav (Asual) managed to release SWFAddress 2.2 for Christmas (and even before this, have you heard of a release that made it before the planned deadline?). A brand new rails 2.2 restful example produced by yours truly was included in this release.

I can’t really remember how I got into this – I think that he asked for some obscure PHP detail on the SEO sample. Having a lot of boring work to do, I quickly managed to find an excuse to get away from it. The first example was quite clunky, made no use of the rails routing, had some quirky “datasource” views, and used if/else to provide conent for the different urls. Less then an year ago, I am finally capable of doing it “right” :) .

Check the code in sourceforge – I also included a small capistrano deployment script for the setup on a linode VPS. This also happened to be my first encounter with Passenger and REE – and boy, was the setup smooth? Dealing with monits, nginxes and thins can sometimes make your head spin.

Advertisement

Written by petyo

December 27, 2008 at 4:30 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.