Ruby Web Dialogs and beyond

Posted by tom August 7th, 2006

Tonight I’ve experimented a little with Ruby Web Dialogs. I really, really like the concept, except for the fact that if people see a webbrowser they know they’re looking at a web application.

How I (at the moment) see Ruby doing cross platform GUI’s is using the concepts laid down with RubyWebDialogs, but with the use of XUL, UIML or XAML (stepping on the Windows Vista bandwagon). I really like the concept of using implementation independent XML (which can be generated using Visual tools or plain ol’ Ruby).

Instead of re-inventing the implementation independent XML I’d like to make use of already existing efforts, as stated before: XUL, XAML or UIML. I’m however not sure whether using a web-server (even locally) is fast enough, though I can certainly see some advantages (if the server is not local):

  1. Networked computing (server generates code for thick clients)
  2. Easy distribution of code
  3. Use of existing technology like Rails

Maybe this all could work easily through a new Rails template like RJS, RHTML or RPDF, think RXUL (.rxul)?
OR maybe we can (re)use code from rubyclr?

Here’s some example RubyWebDialogs code:


require “rubygems” 
require “rubywebdialogs” 

	

RWD = <<EOF EOF


    

This is the first page.

This is the first tab on the second page.

This is the second tab on the second page

counter

Leave a Reply