<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>casperfabricius.com &#187; ironruby</title>
	<atom:link href="http://casperfabricius.com/site/category/ironruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://casperfabricius.com/site</link>
	<description>expert ruby on rails development</description>
	<lastBuildDate>Tue, 24 Jan 2012 20:05:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>IronRuby on Rails</title>
		<link>http://casperfabricius.com/site/2010/05/30/ironruby-on-rails/</link>
		<comments>http://casperfabricius.com/site/2010/05/30/ironruby-on-rails/#comments</comments>
		<pubDate>Sun, 30 May 2010 12:14:34 +0000</pubDate>
		<dc:creator>Casper Fabricius</dc:creator>
				<category><![CDATA[ironruby]]></category>

	<!-- AutoMeta Start -->
	<category>ironruby</category>
	<category>mvc</category>
	<category>iis7</category>
	<category>webforms</category>
	<category>rack</category>
	<category>obvious</category>
	<category>readable</category>
	<category>asp</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=319</guid>
		<description><![CDATA[Rails, say hello to .NET. IronRuby went 1.0 at April 12th, and it runs Ruby on Rails for real. I demonstrated it myself to a packed room of (mostly) .NET developers at Community Day. There was a lot of buzz around IronRuby more than two years ago &#8211; back then, the hype around Ruby on [...]]]></description>
			<content:encoded><![CDATA[<p>Rails, say hello to .NET.</p>
<p><a href="http://ironruby.net/">IronRuby</a> went 1.0 at April 12th, and it runs <a href="http://rubyonrails.org/">Ruby on Rails</a> for real. I demonstrated it myself to a packed room of (mostly) .NET developers at <a href="http://communityday.in/copenhagen">Community Day</a>. There was a lot of buzz around IronRuby more than two years ago &#8211; back then, the hype around Ruby on Rails was at its peak and the .NET developers wanted in. It took a lot longer for IronRuby to go gold than many of us had hoped, and meanwhile <a href="http://www.asp.net/mvc">ASP.NET MVC</a> made its entry. Many ASP.NET developers were aware that the &#8220;webform&#8221; abstraction with its events, viewstate etc. is leaky and broken, and when Microsoft finally presented this &#8220;official&#8221; alternative to webforms they rallied to it and rejoiced, for now they had their own Rails-clone, but with a proper programming language and thorough IDE-support.</p>
<p>My presentation compared ASP.NET MVC to Ruby on Rails. The conclusion is ambiguous. I thought I&#8217;d be able to crush ASP.NET MVC with the pure greatness of Ruby and Rails, making it obvious to everyone which was the better framework and language. While Rails do support a lot things that ASP.NET MVC is nowhere near of having, the latter does &#8211; at least with the recently released version 2 &#8211; have the central elements of a proper MVC framework in place. What&#8217;s more surprising is that C# 4.0 is so much less clunky than C# 1.0, so in some comparisons of syntax Ruby is not even the obvious winner when it comes to readability. Take this example:</p>
<p><script src="http://gist.github.com/418971.js?file=gistfile1.builder"></script></p>
<p><script src="http://gist.github.com/418973.js?file=gistfile1.cs"></script></p>
<p>Before <a href="http://msdn.microsoft.com/en-us/netframework/aa904594.aspx">LINQ</a>, C# would have never been able to map a collection in a such an elegant manner.  In my biased opinion, I still find the Ruby version prettier and more readable, but the fact is that C# is not that far behind. It&#8217;s another syntax paradigm for sure, but it&#8217;s compact and it&#8217;s readable &#8211; that&#8217;s not bad at all.</p>
<p><span id="more-319"></span></p>
<p>So I understand if Ruby and Rails doesn&#8217;t have the appeal to .NET developers now as it had a few years ago &#8211; back when they where stuck with C# 2.0 and broken webforms. That said, there is of course no doubt that our favorite programming language, framework and community has a lot to offer anyone brave enough to try it out. Previously that required .NET developers to get involved with foreign things such as Apache server and perhaps even Linux servers (!) if they wanted to deploy their Rails project &#8211; but with IronRuby and the very cool <a href="http://vimeo.com/11150305">Rack-implementation for IIS7</a> it is now painless to run Rails and other Ruby web frameworks (such as <a href="http://www.sinatrarb.com/">Sinatra</a>) on a Windows server. And even better, seen from a .NET developer&#8217;s perspective, it&#8217;s as easy as pie to call into the .NET framework and custom .NET libraries from Rails:</p>
<p><script src="http://gist.github.com/418984.js?file=gistfile1.builder"></script></p>
<p>IronRuby is also good news for Rails-developers. It opens up the the market for selling Rails-applications to al the companies engaged to Microsoft-technology and the .NET platform, and heaven knows there&#8217;s a lot of them here in Denmark. We can develop the sites locally on our beloved Macs using SQLite or MySQL as a database, and then deploy to Windows to run on IIS7 and SQL Server &#8211; all thanks to Rack and ActiveRecord.</p>
<p>I&#8217;m exited about IronRuby, and I hope some of .NET developers in the Microsoft companies are too. If you need any help getting up and running with IronRuby on Rails, just let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://casperfabricius.com/site/2010/05/30/ironruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Community Day &#8217;10 is coming up</title>
		<link>http://casperfabricius.com/site/2010/02/19/community-day-10-is-coming-up/</link>
		<comments>http://casperfabricius.com/site/2010/02/19/community-day-10-is-coming-up/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 21:59:17 +0000</pubDate>
		<dc:creator>Casper Fabricius</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/cfp/casperfabricius.com/site/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />
		<category><![CDATA[ironruby]]></category>
		<category><![CDATA[rails]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=282</guid>
		<description><![CDATA[I did a well-received talk on ActiveRecord at last year&#8217;s Community Day. Community Day &#8217;09 was the first of its kind in Copenhagen, and it was quite successful in bringing developers with different technical backgrounds together as well as attracting students &#8211; probably because of the free beer :) Community Day in Copenhagen is back [...]]]></description>
			<content:encoded><![CDATA[<p>I did a well-received talk on ActiveRecord at <a href="http://casperfabricius.com/site/2009/05/31/community-day-2009-in-copenhagen/">last year&#8217;s Community Day</a>. Community Day &#8217;09 was the first of its kind in Copenhagen, and it was quite successful in bringing developers with different technical backgrounds together as well as attracting students &#8211; probably because of the free beer :)</p>
<p><a href="http://communityday.in/copenhagen/">Community Day in Copenhagen</a> is back again this year, so reserve May 27 if you are near Copenhagen and like free tech-talks, networking and beer. This year <a href="http://danielfrost.dk/">Daniel Frost</a>, the Microsoft evangelist that makes it happen, has involved me and several other developers actively in the planning of the day. With CD &#8217;10 we have raised the level of ambition &#8211; bigger venue, more people, more talks and if course more fun.</p>
<p>We will have <a href="http://communityday.in/copenhagen/Home/Agenda">20 sessions</a> distributed on four concurrent tracks covering a surprisingly wide number of topics &#8211; very few of the talks are on Microsoft-technologies, in fact so few that we might loose a few of those .NET consultants who thinks anything non-MS are not worth listening to ;) Still, if you are doing anything at all related to the web (and most of us are, right?) you will surely find topics such as HTML 5, Single Sign On, Azure, Advanced jQuery etc. interesting.</p>
<p><span id="more-282"></span></p>
<p>I will be giving a talk with the rather bold title &#8220;Replace ASP.NET with IronRuby on Rails&#8221;. It will give me an excuse to seriously dive into IronRuby and how to make a Rails site talk fluently with .NET libraries and assemblies. Coming from a serious amount of ASP.NET development myself, I really think a lot of web-based .NET projects could benefit from Ruby on Rails. The only time I was really happy with ASP.NET was when I switched to that from classic ASP &#8211; but since then, it hasn&#8217;t evolved that much. Granted, ASP.NET MVC has rescued developers from the annyoing &#8220;webform&#8221; structure, but it still has a long way to go.</p>
<p>I&#8217;m getting ahead of myself here, come watch the session &#8211; <a href="http://cd10.eventbrite.com">sign up for Community Day &#8217;10 now</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://casperfabricius.com/site/2010/02/19/community-day-10-is-coming-up/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

