Virtuous cycle

Bartlomiej Owczarek weblog

You are currently browsing the Virtuous cycle weblog archives for tag 'ruby'.

Return to 'Virtuous cycle' home page

RESTful Ogito: I need to clean up some mess

I decided to rebuild something I specifically hoped would not need to be touched, namely Ogito’s internal routes structure in Rails.

Ogito uses links looking like this:

http://www.ogito.eu/en/place/polska/warszawa/luna-marszalkowska
http://www.ogito.eu/en/directory/contentitem/movies/2003/bialy-krol-czerwony-kauczuk-czarna-smierc

The idea in itself is ok – links include context information like city and country, so that they are more meaningful.

Much better, in my opinion, than links like /places/4652. Not even from the point of view of SEO, but rather of users who are given additional hint if the link is relevant to their search or not.

However, the purpose doesn’t really justify the way I implemented them (read more…)