<?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>Rubynaut: Radiant to Merb</title>
    <link>http://www.rubynaut.net/articles/2008/02/17/radiant-to-merb</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Radiant to Merb</title>
      <description>&lt;p&gt;Merb is a (future) great framework. Radiant is good &lt;span class="caps"&gt;CMS&lt;/span&gt;. And they have so much in common. I&amp;#8217;m curious about porting Radiant to Merb then I started the challenge. For people interested in the same challenge, I set up a &lt;a href="http://gitorious.org/projects/merb_radiant"&gt;repository&lt;/a&gt;. Then please feel free to participate.&lt;/p&gt;


	&lt;p&gt;[update]&lt;/p&gt;


	&lt;p&gt;I got invited on github then I cloned the git repository to &lt;a href="http://github.com/sbusso/merb_radiant/tree/master"&gt;http://github.com/sbusso/merb_radiant/tree/master&lt;/a&gt;&lt;/p&gt;


	&lt;h3&gt;Action plan:&lt;/h3&gt;


	&lt;p&gt;Merb is a framework equivalent to Action Pack. It can use Active Record. For generator we can use Rubigen, it s an extract of RailsGenerator.&lt;/p&gt;


	&lt;p&gt;For this we will use:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;Radiant trunk r742&lt;/li&gt;
		&lt;li&gt;Merb (core and more) 0.9.0&lt;/li&gt;
		&lt;li&gt;Merb helpers 0.9.0&lt;/li&gt;
		&lt;li&gt;Merb ActiveRecord 0.9.0&lt;/li&gt;
		&lt;li&gt;ActiveRecord 2.0.2&lt;/li&gt;
		&lt;li&gt;Rubigen 1.2.0&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;The repository tree was build with:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;Hoe (modified) generated skeleton&lt;/li&gt;
		&lt;li&gt;Merb application&lt;/li&gt;
		&lt;li&gt;Radiant source&lt;/li&gt;
	&lt;/ul&gt;


	&lt;h4&gt;1. Move Radiant base:&lt;/h4&gt;


	&lt;ul&gt;
	&lt;li&gt;use plugins as gem:

	&lt;ul&gt;
	&lt;li&gt;radius 0.5.1&lt;/li&gt;
		&lt;li&gt;highline 1.4.0&lt;/li&gt;
		&lt;li&gt;rubypants 0.2.0&lt;/li&gt;
	&lt;/ul&gt;
&lt;/li&gt;
		&lt;li&gt;use other plugins as ruby libraries:	&lt;ul&gt;
	&lt;li&gt;redcloth&lt;/li&gt;
		&lt;li&gt;bluecloth&lt;/li&gt;
	&lt;/ul&gt;
&lt;/li&gt;
		&lt;li&gt;using active record: nothing to do&lt;/li&gt;
		&lt;li&gt;radius and other ruby libs: nothing to do&lt;/li&gt;
		&lt;li&gt;replace RailsGenerator with Rubigen (Radiant bin)&lt;/li&gt;
		&lt;li&gt;work on initializer&lt;/li&gt;
		&lt;li&gt;desactivate extension dependencies (first step we move only the base)&lt;/li&gt;
		&lt;li&gt;manage Controller and libraries using controllers&lt;/li&gt;
		&lt;li&gt;check routes management&lt;/li&gt;
		&lt;li&gt;work on views to replace Rails specific code&lt;/li&gt;
	&lt;/ul&gt;


	&lt;h4&gt;2. Replace extension system with gems:&lt;/h4&gt;


	&lt;ul&gt;
	&lt;li&gt;first, activate gem with only code features&lt;/li&gt;
		&lt;li&gt;second, deal with extension providing assets&lt;/li&gt;
	&lt;/ul&gt;</description>
      <pubDate>Sun, 17 Feb 2008 20:33:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:82ff0fbc-c409-4370-884f-a0a785c349ed</guid>
      <author>stephane</author>
      <link>http://www.rubynaut.net/articles/2008/02/17/radiant-to-merb</link>
    </item>
  </channel>
</rss>
