<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Yup Dot Com: New Ruby Web Application Framework: Merb</title>
    <link>http://www.yup.com/articles/2006/10/18/new-ruby-web-application-framework-merb</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Advanced Web Services</description>
    <item>
      <title>New Ruby Web Application Framework: Merb</title>
      <description>&lt;p&gt;&lt;img style="float: right; border: 1px dotted #ccc; margin: 4px; padding: 4px;" src="http://static.flickr.com/1/123880662_4ad4046fe4_m.jpg" /&gt;Ezra Zygmuntowicz of Yakima, Washington, has announced a new lightweight Ruby web application framework: Merb, named by combining the lightweight HTTP application server &lt;a href="http://mongrel.rubyforge.org/"&gt;Mongrel&lt;/a&gt; with the templating system &lt;a href="http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/"&gt;Erb&lt;/a&gt;. Using ActiveRecord, a simpler-than-rails routing system and taking full advantage of Mongrel&amp;#8217;s X-SendFile features, the &amp;#8220;pocket framework&amp;#8221; can server dynamic templated pages at 400 requests/second on a MacBook.&lt;/p&gt;

&lt;p&gt;It&amp;#8217;s simple to get started:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ 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
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Once you do that, visit &lt;a href="http://localhost:4000/posts/new"&gt;http://localhost:4000/posts/new&lt;/a&gt;, &lt;a href="http://localhost:4000/posts/list"&gt;http://localhost:4000/posts/list&lt;/a&gt;, or &lt;a href="http://localhost:4000/uploads/start"&gt;http://localhost:4000/uploads/start&lt;/a&gt; to see the little framework that could in action.&lt;/p&gt;

&lt;p&gt;Thanks, Ezra!&lt;/p&gt;

&lt;p&gt;&lt;a href="http://rubyforge.org/frs/?group_id=2383"&gt;The RubyForge Project Page&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://merb.devjavu.com/"&gt;The Merb Trac Page&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://svn.devjavu.com/merb/"&gt;The Merb SVN Repository&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://brainspl.at/articles/2006/10/15/merb-gets-cool-routes-and-file-uploads"&gt;An article on Merb at Brainspl.at&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 18 Oct 2006 09:49:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:7dbceb3b-e70b-4a53-be81-4c67dbf44522</guid>
      <author>Daniel Butler</author>
      <link>http://www.yup.com/articles/2006/10/18/new-ruby-web-application-framework-merb</link>
      <category>Ruby</category>
      <category>Web Development</category>
    </item>
  </channel>
</rss>
