[Kde-bindings] Wt::Ruby 0.9.1 release
Thomas Moenicke
tm at compunix.de
Tue Mar 31 14:28:26 UTC 2009
yay :)
On Mar 31, 2009, at 3:17 PM, Richard Dale wrote:
> 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("<h1>Hello, World!</h1>"))
> 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
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings
More information about the Kde-bindings
mailing list