M
Michael Neumann
Hi Rubyists,
We (Kevin and Michael) are proud to release the first public version of
Nemo and a new version of Wee simultaneously.
Nemo is a Ruby port of Mewa
http://www.adrian-lienhard.ch/files/mewa.pdf
using Michael Neumann's Wee as the Seaside2 equivalent.
Nemo is a web-application platform that uses object metadata to
automatically construct web-interfaces (Editors and Viewers). It is
highly object-oriented with strong emphasis on reusable components.
What's Wee? Please read the URL below:
http://www.ntecs.de/viewcvs/viewcvs/*checkout*/Wee/trunk/doc/rdoc/index.html
== Installation
gem install wee
gem install nemo
== Hello World in Wee
require 'rubygems'
require 'wee'
require 'wee/adaptors/webrick'
require 'wee/utils/helper'
class HelloWorld < Wee::Component
def initialize
super
add_decoration(Wee:ageDecoration.new("Hello World"))
end
def render
r.h1 "Hello World from Wee!"
end
end
Wee::WEBrickAdaptor.register(
'/app' => Wee::Helper.app_for(HelloWorld)).start
== Running Advanced Examples
Nemo example:
cd `gem environment gemdir`/gems/nemo-0.1.0/test
ruby -rubygems person_editor.rb
# Point your browser to http://localhost:2000/app
Wee example:
cd `gem environment gemdir`/gems/wee-0.4.0/examples
ruby -rubygems example.rb
# Point your browser to http://localhost:2000/app
== Project pages
http://rubyforge.org/projects/nemo
http://rubyforge.org/projects/wee
== News in Wee 0.4.0
* Can be used with or without continuations
* renamed render_on to render.
* session now get removed when they are no longer alive.
* lots of other additions.
Regards,
Michael
We (Kevin and Michael) are proud to release the first public version of
Nemo and a new version of Wee simultaneously.
Nemo is a Ruby port of Mewa
http://www.adrian-lienhard.ch/files/mewa.pdf
using Michael Neumann's Wee as the Seaside2 equivalent.
Nemo is a web-application platform that uses object metadata to
automatically construct web-interfaces (Editors and Viewers). It is
highly object-oriented with strong emphasis on reusable components.
What's Wee? Please read the URL below:
http://www.ntecs.de/viewcvs/viewcvs/*checkout*/Wee/trunk/doc/rdoc/index.html
== Installation
gem install wee
gem install nemo
== Hello World in Wee
require 'rubygems'
require 'wee'
require 'wee/adaptors/webrick'
require 'wee/utils/helper'
class HelloWorld < Wee::Component
def initialize
super
add_decoration(Wee:ageDecoration.new("Hello World"))
end
def render
r.h1 "Hello World from Wee!"
end
end
Wee::WEBrickAdaptor.register(
'/app' => Wee::Helper.app_for(HelloWorld)).start
== Running Advanced Examples
Nemo example:
cd `gem environment gemdir`/gems/nemo-0.1.0/test
ruby -rubygems person_editor.rb
# Point your browser to http://localhost:2000/app
Wee example:
cd `gem environment gemdir`/gems/wee-0.4.0/examples
ruby -rubygems example.rb
# Point your browser to http://localhost:2000/app
== Project pages
http://rubyforge.org/projects/nemo
http://rubyforge.org/projects/wee
== News in Wee 0.4.0
* Can be used with or without continuations
* renamed render_on to render.
* session now get removed when they are no longer alive.
* lots of other additions.
Regards,
Michael