HotRuby - is a Ruby DSL for creating flash.
RJS [Ruby JavaScript] is a Rails DSL for creating javascript code using Ruby. That is, some fairly simple ruby code generates some quite powerful, cross browser javascript utilising the prototype & scriptaculous libraries. Here is an example that puts an image on the page as a link, that when clicked, assigns 1 to the javascript value region & then shows div us_selected & hides div uk_selected.
<%= link_to_function(image_tag("country/usa_dwn.gif" ,
update_page do |page|
page['region'].value = 1
page['us_selected'].toggle
page['uk_selected'].toggle
end) %>
HotRuby aims to do the same for Flash. Interesting project.

Trackback URL