Posts Tagged ‘Rails’

RJS Magic

Saturday, June 27th, 2009

Recently, while working on a small application on Rails, I learned firsthand how easy and powerful RJS can be. I was amazed at how simple it is to save attributes to the data base using Ajax and then notify the user about successful operations or errors. Here is a small example that should show you how simple this is. (more…)

Financing Rails

Sunday, September 28th, 2008

FX Dashboard

I have been working on this small Rails based dashboard (code named : Fx Dashboard) the past few months. The basic idea that I had was to create some kind of a dashboard where I could collate all relevant financial information and news. The application has turned out pretty well, and I finally managed to put it online yesterday. The application currently displays a 15 minute delayed feed of major market indices, delayed feeds of sub-indices on the BSE and the NSE, commodity prices from MCX, news feeds from IBN, Moneycontrol, BBC World and Reuters and the latest foreign exchange rates from FEDAI (see above screen shot). The only thing I haven’t been able to integrate as yet are the RBI rates.

Building this application was a very learning experience.I learnt how to use Flex and integrate it with Rails. Also learnt what “screen scraping” is, and how to do it using Rails. As of now, this application is for personal use (might change in the future). Basically I want to test run it on a live server, see bandwidth usage etc. Lets see how it turns out.

Loupe – Flickerize your website

Wednesday, October 3rd, 2007

LoupeAbout three months ago started with an idea of using Flickr’s public API to pull my Flickr pictures on to a sub section of my website. I codenamed this project “Loupe”. While I was done with most of coding in under a week, B School kept me way too busy to do anything about Loupe. As such the project was literally hibernating. Now with the first trimester done, and with finally some time on my hand I finally managed to put up Loupe on the web !

What Loupe basically does is pick all the pictures from a user’s public photostream on flickr and display it on a website. All the flickr niceties like tags, sets etc can be accessed. In addition to this there is also a tag based search feature as well as nifty about page to put material on. ( Mine still needs some work, right now it’s just some random text I picked up from another photography site ).

Loupe uses the rflickr library to access the Flickr API. It is built using the excellent web framework for Ruby called Rails. It also uses the mootools and slim box javascript libraries for displaying images. Do give Loupe a look at my photography section and let me know how it is. I will also be writing a series of articles on rails and flickr integration in the coming weeks, so do watch this space for more.

Technorati Tags: , , , , ,