Thursday, April 13, 2006

Demo a Bar Camp Chennai

A BarCamp was scheduled at Chennai on the 8th and 9th of April. What better place to present rich ruby? So, we decided to go ahead.

To make the presentation more attractive we decided to quickly add a few more features. We still had about 2 weeks time. We wanted to demonstrate the following capabilities.

  • Presentation style
  • Build mash-up with Google map
  • Event programming to invoke either client side action
Before adding presentation style we added Image, Input & Checkbox. It works in the same way as the Text

ListBox, DropDownListBox and OptionButton are yet to be done.

Next step was to assign height and width property for all the classes. It was added for all the classes except for page. Also to provide the developer with display style we created a class for Style. Using the Style class, all the properties available in css can be set.

To get into the world of mash-up we started with Google map. On one hand it is very easy to use and quiet nice to demonstrate. On the other hand it is very powerful and extensive. So we added class for GoogleMap.

The minimum requirement to make this into a mash-up we need to show a place in the map based on user action. To achieve this we need an Action class and need to attach to a client side Event. Accordingly we created an Action class and an Event class. This allows us to click on the city and the city gets shown in the map.

Since Webrick is the web server of choice for Ruby developer, we tried the same code in Webrick and it worked fine.

Need to compare this concept with tag library and web form in .net and see if RR is better? What are the advantages and disadvantages?

3 Comments:

Blogger balakumar said...

I am Balakumar Muthu, i too attended BarCamp Chennai... I just want to try Rich Ruby but the download page seems to be blank... for which source can i download the Rich Ruby framwork... That's really a good start... I am also a member in RUG Chennai... hope to meet you on 22.

--
Balakumar Muthu
http://i5bala.blogspot.com

10:38 AM  
Blogger Udayan said...

The project is hosted in RubyForge. You can use the link http://rubyforge.org/projects/richruby/ and download richruby from there.

11:00 AM  
Anonymous Anonymous said...

This is great. Do you have a source code which run under webrick.

You are on right track with Rich Ruby. Both Nitro and rails is missing main point of abstraction so that user don't need to learn multiple languages to write a web application.

1:26 PM  

Post a Comment

<< Home