<?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>TechCloud &#187; migration</title>
	<atom:link href="http://techcloud.com/category/migration/feed/" rel="self" type="application/rss+xml" />
	<link>http://techcloud.com</link>
	<description>a blog about web 2.0, search, cloud, collaboration, Ruby on Rails, Microsoft, Google, and other fun stuff</description>
	<lastBuildDate>Mon, 26 Jul 2010 03:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google Sites API and Sharepoint Move &#8211; more power under the hood</title>
		<link>http://techcloud.com/2009/09/25/google-sites-api-and-sharepoint-move-more-power-under-the-hood/</link>
		<comments>http://techcloud.com/2009/09/25/google-sites-api-and-sharepoint-move-more-power-under-the-hood/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 17:20:34 +0000</pubDate>
		<dc:creator>Ed Laczynski</dc:creator>
				<category><![CDATA[cloud]]></category>
		<category><![CDATA[google apps]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[migration]]></category>

		<guid isPermaLink="false">http://idisposable.net/?p=142</guid>
		<description><![CDATA[LTech is proud to announce a new product, Sharepoint Move.
From InformationWeek:
Google partner LTech has already build an application called SharePoint Move for Google Apps using the API to help liberate data, as Google might put it, from SharePoint.
Sharepoint Move is based on the Google Sites APIs.  These types of APIs are what makes the cloud viable. [...]]]></description>
			<content:encoded><![CDATA[<p>LTech is proud to announce a new product, Sharepoint Move.</p>
<p>From <a href="http://www.informationweek.com/news/internet/google/showArticle.jhtml?articleID=220200112">InformationWeek</a>:</p>
<blockquote><p>Google partner <a style="color: #0f4692; text-decoration: none;" href="http://www.ltech.com/">LTech</a> has already build an application called SharePoint Move for Google Apps using the API to help liberate data, as Google might put it, from SharePoint.</p></blockquote>
<p>Sharepoint Move is based on the Google Sites APIs.  These types of APIs are what makes the cloud viable.  The best cloud computing platforms have open, easy-to-understand, standards based interfaces for developers, customers, and partners to build upon.</p>
<p>The idea behind Sharepoint move is to help organizations smoothly transition their users to Google Apps.  Many companies have invested a significant amount of time and training on systems like Sharepoint.   Tools that help to ease that transition have value in the cloud product ecosystem today.  We&#8217;ll be marketing more tools like this for the Google Apps platform (and other platforms) in the coming months.</p>
]]></content:encoded>
			<wfw:commentRss>http://techcloud.com/2009/09/25/google-sites-api-and-sharepoint-move-more-power-under-the-hood/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting from ASP.NET to Rails: Part 2</title>
		<link>http://techcloud.com/2007/09/25/converting-from-aspnet-to-rails-part-2/</link>
		<comments>http://techcloud.com/2007/09/25/converting-from-aspnet-to-rails-part-2/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 20:55:22 +0000</pubDate>
		<dc:creator>Ed Laczynski</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://idisposable.net/2007/09/25/converting-from-aspnet-to-rails-part-2/</guid>
		<description><![CDATA[This is part 2 in a series of articles on converting  both your mindset and your  ASP.NET web sites to Rails.  Inside I hope to help anyone coming from a .NET background that is looking to create new Rails apps, or migrating existing ones.
Before we go forward, I assume that you have [...]]]></description>
			<content:encoded><![CDATA[<p>This is part 2 in a series of articles on converting  both your mindset and your  ASP.NET web sites to Rails.  Inside I hope to help anyone coming from a .NET background that is looking to create new Rails apps, or migrating existing ones.</p>
<p>Before we go forward, I assume that you have a basic understanding of Ruby and Rails.  If not, read <a href="http://poignantguide.net/ruby/">_why&#8217;s poignant guide to Ruby</a> and buy <a href="http://www.pragmaticprogrammer.com/titles/rails/index.html">Agile Development with Rails</a> and run through at least the first couple of chapters.</p>
<p>One of the biggest challenges I had initially when starting with Rails was understanding the relationships between the web framework concepts I knew well from ASP.NET, and these new Rails concepts.</p>
<p>I discovered these key concepts from ASP.NET translate well into Rails:</p>
<ul>
<li>Master Pages</li>
<li>User Web Controls</li>
<li>The ASP.NET Web Control / PostBack Event Model</li>
<li>The use and arrangement of .aspx, .ascx, and code-behind (.cs or .vb)</li>
</ul>
<table border="1">
<tr>
<td><strong>ASP.NET Concept</strong></td>
<td><strong>Rails Concept</strong></td>
</tr>
<tr>
<td>Master Pages</td>
<td>Layouts</td>
</tr>
<tr>
<td valign="top">User Web Controls</td>
<td valign="top">Partials</td>
</tr>
<tr>
<td valign="top">The &#8220;glue&#8221;:ASP.NET Web Controls.aspx,.ascx, and code behind (.cs or .vb)</td>
<td valign="top">Rails MVCpage.rhtml _partial.rthml, and  model.rb / controller.rb / helper.rb</td>
</tr>
</table>
<p><em>Table 1: ASP.NET Concepts and their Rails counterparts</em></p>
<p>These concepts are not exact, as these are two completely different frameworks.  Let&#8217;s take a look at each of these concepts in more detail.</p>
<p><strong>Master Pages  and Layouts</strong></p>
<p>A Master Page gives you a canvas from which you can build other pages on without having to worry about all of the common elements like headers, footers, HTML directives, etc.   Rails layouts are designed for a similar purpose and as such translate very well to ASP.NET Master Pages.  As you will see in the next chapter in this series, I was able to convert an ASP.NET Master Page (site.master) to  a Rails layout (application.rhtml) very quickly.  ASP.NET Master Pages allow for multiple discreet content replacement zones, called  <em>ContentPlaceHolder</em>s.  Rails does not have a preset &#8220;tag&#8221; for zones, rather you can use variables and a single &#8220;yield&#8221; statement to render discreet sections.   It is best to reserve the &#8220;yield&#8221; for the main content body, and use variables for supplementary content like headers and titles that might be replaced.</p>
<p>This ASP.NET Master Page:</p>
<pre class="brush: xml;">

&lt;@Page Title=&quot;Page Title&quot;&gt;

Lorem ipsum blah blah blah

&lt;asp:ContentPlaceHolder id=&quot;headerContentPlaceHolder&quot; runat=&quot;server&quot;&gt;&lt;/asp:ContentPlaceHolder&gt;

Ipsum lorem blah blah blah

&lt;asp:ContentPlaceHolder id=&quot;bodyContentPlaceHolder&quot; runat=&quot;server&quot;&gt;&lt;/asp:ContentPlaceHolder&gt;
</pre>
<p>is functionally equivalent to this Rails layout:</p>
<pre class="brush: ruby;">

&lt;title&gt;&lt;%=@title || &quot;Default Title&quot;%&gt;&lt;/title&gt;
Ipsum lorem blah blah blah

&lt;%=@header_content %&gt;

Ipsum lorem blah blah blah

&lt;%=yield%&gt;
</pre>
<p><strong>User Web Controls and Partials</strong></p>
<p>In ASP.NET, User Web Controls (.ascx files), give you a nice way to encapsulate common web presentation elements.  They can be included on any page or template, and have their own event model that custom code can be added to, much like ASP.NET Pages.  An excellent example of a User Web Control would be a &#8220;contact us&#8221; widget that allows a user to fill out and submit a contact form in a consistent way across many pages of a website.</p>
<p>Rails partials serve a similar purpose.  They allow a developer to encapsulate HTML with the intent of reusing across many pages or layouts.  The &#8220;contact us&#8221; widget example above also fits well with partials.</p>
<p>From the <a href="http://www.railsdiary.com/diary/dry_layouts_components_partials">excellent overview at the Rails Diary</a>:</p>
<blockquote><p> Partials let you break out a chunk of RHTML that is going to be used across multiple views in a controller or even across multiple controllers.</p></blockquote>
<p><a href="http://idisposable.net/wp-admin/:%20http://rails.rubyonrails.com/classes/ActionView/Partials.html">For more information, partials API Documentation can be found here.</a></p>
<p>In the next part of the series we&#8217;ll wrap up the ASP.NET concept comparison and start to look at implementing real-world ASP.NET to Rails conversion.</p>
]]></content:encoded>
			<wfw:commentRss>http://techcloud.com/2007/09/25/converting-from-aspnet-to-rails-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Converting and migrating a web application from ASP.NET / C# to Ruby on Rails: Part 1 of ?</title>
		<link>http://techcloud.com/2007/09/14/converting-and-migrating-a-web-application-from-aspnet-c-to-ruby-on-rails-part-1-of/</link>
		<comments>http://techcloud.com/2007/09/14/converting-and-migrating-a-web-application-from-aspnet-c-to-ruby-on-rails-part-1-of/#comments</comments>
		<pubDate>Fri, 14 Sep 2007 15:33:00 +0000</pubDate>
		<dc:creator>Ed Laczynski</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://apache.zype.com/idisposable/?p=49</guid>
		<description><![CDATA[Folks,
I&#8217;ve had it with ASP.NET.
I had a simple missing tag on a Master page (I think VS2005 conveniently erased my form tag because I was trying to actually do something nifty), and it blew up our company web page.
I am going to convert http://www.ltech.com to Ruby on Rails from ASP.NET 2.0 / C#.
Ltech.com is a [...]]]></description>
			<content:encoded><![CDATA[<p>Folks,<br />
I&#8217;ve had it with ASP.NET.</p>
<p>I had a simple missing tag on a Master page (I think VS2005 conveniently erased my form tag because I was trying to actually do something nifty), and it blew up our company web page.</p>
<p>I am going to convert http://www.ltech.com to Ruby on Rails from ASP.NET 2.0 / C#.</p>
<p>Ltech.com is a simple site, nothing too dynamic, and with a limited number of web forms.  This should provide a good case study.</p>
<p>Once I figure out how to post nice &#8220;code snippets&#8221; in Blogger ( or move to Mephisto or WordPress ), I&#8217;ll start posting here.</p>
]]></content:encoded>
			<wfw:commentRss>http://techcloud.com/2007/09/14/converting-and-migrating-a-web-application-from-aspnet-c-to-ruby-on-rails-part-1-of/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
