New Ruby Web Application Framework: Merb

Posted by Daniel Butler Wed, 18 Oct 2006 13:49:00 GMT

Ezra Zygmuntowicz of Yakima, Washington, has announced a new lightweight Ruby web application framework: Merb, named by combining the lightweight HTTP application server Mongrel with the templating system Erb. Using ActiveRecord, a simpler-than-rails routing system and taking full advantage of Mongrel’s X-SendFile features, the “pocket framework” can server dynamic templated pages at 400 requests/second on a MacBook.

It’s simple to get started:

$ sudo gem install merb
$ gem unpack merb
$ cd merb-0.0.3/examples/sample_app
# edit the conf/merb_init.rb to add your database password info.
# then add a posts table to your db with a title and body column.
$ merb start -t

Once you do that, visit http://localhost:4000/posts/new, http://localhost:4000/posts/list, or http://localhost:4000/uploads/start to see the little framework that could in action.

Thanks, Ezra!

The RubyForge Project Page
The Merb Trac Page
The Merb SVN Repository
An article on Merb at Brainspl.at

Posted in ,  | no comments

Sponsored Links

Sponsored Links

Comments

(leave url/email »)

   Comment Markup Help Preview comment