From: "richard.j.dale@..." Date: 2009-03-31T21:19:46+09:00 Subject: Wt::Ruby 0.9.1 release Wt::Ruby version 0.9.1 has been released! * http://wiki.github.com/rdale/wtruby * Code * Wiki * Tutorial * http://wiki.github.com/rdale/wtruby/tutorial * http://rubyforge.org/projects/wtruby/ * Downloads * Help forum Ruby bindings for the Wt web development toolkit, which allow you to write widget based web applications wired up with 'signals' and 'slots' in a very similar manner to a desktop toolkit such as Qt. The Wt::Ruby bindings runtime is derived from the well proven QtRuby code, and so it could be described as a 'QtRuby for web programming'. Hello World with quit button: #!/usr/bin/env ruby require 'wt' class HelloApplication < Wt::WApplication def initialize(env) super(env) root.addWidget(Wt::WText.new("

Hello, World!

")) button = Wt::WPushButton.new("Quit", root) button.clicked.connect(SLOT(self, :quit)) end end Wt::WRun(ARGV) do |env| HelloApplication.new(env) end Note that this forms a complete web server that can be run from the command line as follows: $ ./hello.rb --docroot . --http-address localhost --http-port 3000 To deploy the same code via FCGI running under a web server such as Apache, you just need to change the environment variable WT_ENV from ‘development’ (or unset) to ‘production’. Requirements * Ruby 1.8.x or 1.9.1 * Wt 2.2.3 or Wt 2.99.0 or greater * cmake 2.6.x * boost 1.35 or greater