<?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>Ryan Brady &#187; Object Relational Mapping</title>
	<atom:link href="http://www.ryanbrady.org/category/object-relational-mapping/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryanbrady.org</link>
	<description>Assorted Musings, Mostly About Web and Software Development</description>
	<lastBuildDate>Tue, 17 Jan 2012 21:24:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>DataMapper Installation Woes</title>
		<link>http://www.ryanbrady.org/2007/12/18/datamapper-installation-woes/</link>
		<comments>http://www.ryanbrady.org/2007/12/18/datamapper-installation-woes/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 18:31:09 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Object Relational Mapping]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.oneinspired.com/?p=67</guid>
		<description><![CDATA[I started playing more with Sinatra, and I have so many ideas for it&#8217;s usage.  At work I&#8217;m using to prototype a quick way to enable remote execution of .Net command line apps.  So I started looking into DataMapper as well to use with it. So far I can&#8217;t get the datamapper gem to install [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F&amp;source=rjbrady&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I started playing more with Sinatra, and I have so many ideas for it&#8217;s usage.  At work I&#8217;m using to prototype a quick way to enable remote execution of .Net command line apps.  So I started looking into DataMapper as well to use with it.</p>
<p>So far I can&#8217;t get the datamapper gem to install on either XP or Ubuntu.  It gives me the same compilation errors on either platform.  I realize the problem is that I&#8217;m missing some software I need to build, but it still seems like a hassle.  Active record &#8220;just works&#8221;.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F&amp;title=DataMapper+Installation+Woes" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F&amp;title=DataMapper+Installation+Woes" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F&amp;title=DataMapper+Installation+Woes" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F&amp;title=DataMapper+Installation+Woes" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F&amp;title=DataMapper+Installation+Woes', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F&amp;title=DataMapper+Installation+Woes" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F12%2F18%2Fdatamapper-installation-woes%2F&amp;title=DataMapper+Installation+Woes" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.ryanbrady.org/2007/12/18/datamapper-installation-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SubSonic Beta 2</title>
		<link>http://www.ryanbrady.org/2007/04/11/subsonic-beta-2/</link>
		<comments>http://www.ryanbrady.org/2007/04/11/subsonic-beta-2/#comments</comments>
		<pubDate>Wed, 11 Apr 2007 13:34:45 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Object Relational Mapping]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.oneinspired.com/?p=35</guid>
		<description><![CDATA[Rob and Eric have already released a second beta for SubSonic 2.0. I introduced a colleague to SubSonic yesterday and found myself telling her how much faster I can get an app out the door because I don&#8217;t have to build a custom data access layer. I felt like I was telling her a secret&#8230;]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F&amp;source=rjbrady&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Rob and Eric have already <a href="http://blog.wekeroad.com/archive/2007/04/10/SubSonic-Beta-2-is-Ready.aspx">released a second</a> beta for SubSonic 2.0.</p>
<p>I introduced a colleague to SubSonic yesterday and found myself telling her how much faster I can get an app out the door because I don&#8217;t have to build a custom data access layer.  I felt like I was telling her a secret&#8230;</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F&amp;title=SubSonic+Beta+2" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F&amp;title=SubSonic+Beta+2" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F&amp;title=SubSonic+Beta+2" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F&amp;title=SubSonic+Beta+2" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F&amp;title=SubSonic+Beta+2', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F&amp;title=SubSonic+Beta+2" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F11%2Fsubsonic-beta-2%2F&amp;title=SubSonic+Beta+2" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.ryanbrady.org/2007/04/11/subsonic-beta-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SubSonic 2.0 Beta 1 Released</title>
		<link>http://www.ryanbrady.org/2007/04/09/subsonic-20-beta-1-released/</link>
		<comments>http://www.ryanbrady.org/2007/04/09/subsonic-20-beta-1-released/#comments</comments>
		<pubDate>Tue, 10 Apr 2007 06:17:39 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Object Relational Mapping]]></category>

		<guid isPermaLink="false">http://www.oneinspired.com/?p=34</guid>
		<description><![CDATA[Today Rob and Eric pushed out the latest SubSonic offering to the general public.  There are tons of new features and a great list of what&#8217;s in store over at Rob&#8217;s blog.  I could swear that Phil actually announced it before I saw the change on Rob&#8217;s Blog.  He&#8217;s psychic or something&#8230;..]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F&amp;source=rjbrady&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Today Rob and Eric pushed out the latest <a href="http://blog.wekeroad.com/archive/2007/04/09/SubSonic-2.0-Beta-1-is-Ready.aspx">SubSonic offering</a> to the general public.  There are tons of new features and a great list of what&#8217;s in store over at <a href="http://blog.wekeroad.com/Default.aspx">Rob&#8217;s blog</a>.  I could swear that <a href="http://haacked.com/">Phil</a> actually <a href="http://haacked.com/archive/2007/04/09/subsonic-2.0-beta-1.aspx">announced</a> it before I saw the change on <a href="http://blog.wekeroad.com/Default.aspx">Rob&#8217;s Blog</a>.  He&#8217;s psychic or something&#8230;..</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F&amp;title=SubSonic+2.0+Beta+1+Released" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F&amp;title=SubSonic+2.0+Beta+1+Released" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F&amp;title=SubSonic+2.0+Beta+1+Released" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F&amp;title=SubSonic+2.0+Beta+1+Released" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F&amp;title=SubSonic+2.0+Beta+1+Released', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F&amp;title=SubSonic+2.0+Beta+1+Released" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2007%2F04%2F09%2Fsubsonic-20-beta-1-released%2F&amp;title=SubSonic+2.0+Beta+1+Released" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.ryanbrady.org/2007/04/09/subsonic-20-beta-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adjusting the default web.config schema for SubSonic</title>
		<link>http://www.ryanbrady.org/2006/10/20/adjusting-the-default-webconfig-schema-for-subsonic/</link>
		<comments>http://www.ryanbrady.org/2006/10/20/adjusting-the-default-webconfig-schema-for-subsonic/#comments</comments>
		<pubDate>Sat, 21 Oct 2006 04:34:02 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Object Relational Mapping]]></category>

		<guid isPermaLink="false">http://www.oneinspired.com/?p=7</guid>
		<description><![CDATA[While working in Visual Studio Team Suite, I ran into a slight problem while using SubSonic. I was using an Application Diagram to model my application and once I had switched to SubSonic (see yesterday&#8217;s post), my diagram locked. Visual Studio was nagging on the requirePermission attribute added within the custom config section for SubSonic. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F&amp;source=rjbrady&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>While working in Visual Studio Team Suite, I ran into a slight problem while using SubSonic.  I was using an Application Diagram to model my application and once I had switched to SubSonic (see yesterday&#8217;s post), my diagram locked.  Visual Studio was nagging on the requirePermission attribute added within the custom config section for SubSonic.  The section in the web.config file looks like:</p>
<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">configSections</span><span class="kwrd">&gt;</span>  <span class="kwrd">&lt;</span><span class="html">section</span> <span class="attr">name</span><span class="kwrd">="SubSonicService"</span>  <span class="attr">type</span><span class="kwrd">="SubSonic.SubSonicSection, SubSonic"</span>  <span class="attr">allowDefinition</span><span class="kwrd">="MachineToApplication"</span>  <span class="attr">restartOnExternalChanges</span><span class="kwrd">="true"</span>   <span class="attr">requirePermission</span><span class="kwrd">="false"</span><span class="kwrd">/&gt;</span>   <span class="kwrd">&lt;/</span><span class="html">configSections</span><span class="kwrd">&gt;</span></pre>
<p>So I navigated to C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas\DotNetConfig.xsd and added the following line at line 44:<br />
<!-- code formatted by http://manoli.net/csharpformat/ --></p>
<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">xs:attribute</span> <span class="attr">name</span><span class="kwrd">="requirePermission"</span> <span class="attr">type</span><span class="kwrd">="boolean_Type"</span> <span class="attr">use</span><span class="kwrd">="optional"</span> <span class="kwrd">/&gt;</span></pre>
<p style="margin-bottom: 0in">This solved my problem and Visual Studio unlocked my diagram.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F&amp;title=Adjusting+the+default+web.config+schema+for+SubSonic" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F&amp;title=Adjusting+the+default+web.config+schema+for+SubSonic" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F&amp;title=Adjusting+the+default+web.config+schema+for+SubSonic" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F&amp;title=Adjusting+the+default+web.config+schema+for+SubSonic" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F&amp;title=Adjusting+the+default+web.config+schema+for+SubSonic', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F&amp;title=Adjusting+the+default+web.config+schema+for+SubSonic" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F20%2Fadjusting-the-default-webconfig-schema-for-subsonic%2F&amp;title=Adjusting+the+default+web.config+schema+for+SubSonic" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.ryanbrady.org/2006/10/20/adjusting-the-default-webconfig-schema-for-subsonic/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Converting to SubSonic</title>
		<link>http://www.ryanbrady.org/2006/10/19/converting-to-subsonic/</link>
		<comments>http://www.ryanbrady.org/2006/10/19/converting-to-subsonic/#comments</comments>
		<pubDate>Fri, 20 Oct 2006 04:48:17 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Object Relational Mapping]]></category>

		<guid isPermaLink="false">http://www.oneinspired.com/?p=11</guid>
		<description><![CDATA[In my quest to speed up my development time, I had started looking into ORM type frameworks such as Persistor, NHibernate and Gentle.Net. I had previously chosen Gentle due to it&#8217;s price (FREE) and it&#8217;s relatively minimal configuration. I have still looked around at new things from time to time, but had pretty much stuck [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F&amp;source=rjbrady&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In my quest to speed up my development time, I had started looking into ORM type frameworks such as Persistor, NHibernate and Gentle.Net.  I had previously chosen Gentle due to it&#8217;s price (FREE) and it&#8217;s relatively minimal configuration.  I have still looked around at new things from time to time, but had pretty much stuck with Gentle.  Recently I had started looking at <a href="http://actionpack.wekeroad.com/">SubSonic</a>.  <a href="http://actionpack.wekeroad.com/">SubSonic</a> is a &#8220;Rails&#8221; inspired framework that builds a data access layer for you at compile time and places the generated classes into memory.  It is a very smooth framework with a low bug count and it is also free and open source.  Developed and distributed by Rob Conery, SubSonic has a good support structure in place and a growing community site as well.</p>
<p>Yesterday I was in the middle of working on a web service using ASP.Net 2.0, SQL 2000, and the Gentle.Net framework.  I was having trouble trying to execute a simple query with Gentle and was not having a whole lot of luck.  I tried going to the Gentle website only to find the server down due to maintenance.  Not wanting top stop development, I decided to create a new project using SubSonic instead and just copy any necessary code from the old service to the new one.  In about 15 minutes I was able to cover about 1.5 hours of work.  I am amazed.</p>
<p>I started by copying the constructor and some of the configuration data from the old project to the new one.  After that, I added the SubSonic configuration data, which happens to be a fraction of what was required for Gentle.  Next I added the Builder.abp file and hit CTRL + Shift + B.  I now had a strongly typed data access layer!</p>
<p>It is amazing how much development effort is reduced to get to the same result when using SubSonic.  I&#8217;m going to finish evaluating it on this project and possibly start using it a little more often when the situation will allow&#8230;.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F&amp;title=Converting+to+SubSonic" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F&amp;title=Converting+to+SubSonic" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F&amp;title=Converting+to+SubSonic" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F&amp;title=Converting+to+SubSonic" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F&amp;title=Converting+to+SubSonic', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F&amp;title=Converting+to+SubSonic" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F10%2F19%2Fconverting-to-subsonic%2F&amp;title=Converting+to+SubSonic" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.ryanbrady.org/2006/10/19/converting-to-subsonic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Persistor.Net Object Persistence Framework</title>
		<link>http://www.ryanbrady.org/2006/06/02/persistornet-object-persistence-framework/</link>
		<comments>http://www.ryanbrady.org/2006/06/02/persistornet-object-persistence-framework/#comments</comments>
		<pubDate>Sat, 03 Jun 2006 04:30:05 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Object Relational Mapping]]></category>

		<guid isPermaLink="false">http://www.oneinspired.com/?p=9</guid>
		<description><![CDATA[Introduction The Persistor.Net object persistence framework is featured in the latest issue of MSDN Magazine. From the official Persistor.Net website, &#8220;Persistor.NET is a library that provides transparent persistence for pure object oriented development for the Microsoft™ .NET Platform.&#8221; If you don&#8217;t know anything about object persistence, think &#8220;No T-SQL code&#8221;. I have been interested in [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F&amp;source=rjbrady&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p style="margin-bottom: 0in"><strong>Introduction</strong></p>
<p>The Persistor.Net object persistence framework is featured in the latest issue of MSDN Magazine.  From the official Persistor.Net website, &#8220;Persistor.NET is a library that provides transparent persistence for pure object oriented development for the Microsoft™ .NET Platform.&#8221;   If you don&#8217;t know anything about object persistence, think &#8220;No T-SQL code&#8221;.</p>
<p>I have been interested in object persistence for some time and have briefly reviewed NHibernate and Gentle.Net and I have found them to be both promising and daunting.  There is no way around the learning curve to use these frameworks.  When I set out to evaluate the Persistor.Net Express Edition, I wanted to see if this product would be easy to use as well as functional.  Here is the feature breakdown for you:</p>
<p style="margin-bottom: 0in">
<ul>
<li>
<p style="margin-bottom: 0in">Pure object oriented modelling 	without trade-off: Use inheritance, polymorphism and interfaces 	without any restrictions or special treatment.</p>
</li>
<li>
<p style="margin-bottom: 0in">Database unaware: Persistence 	provided is completely transparent &#8211; no database setup, scheme 	definition or access specification.</p>
</li>
<li>
<p style="margin-bottom: 0in">Persistence for all classes: 	Persistence is not restricted to specialized classes but 	incorporates also .NET Framework classes or 3rd party classes.</p>
</li>
<li>
<p style="margin-bottom: 0in">Zero Configuration: Start without 	any previous configuration or mapping definition.</p>
</li>
<li>
<p style="margin-bottom: 0in">Ready for .NET Framework 2.0: All 	new features like generics or partial classes are supported.</p>
</li>
<li>
<p style="margin-bottom: 0in">Supports Agile/eXtreme Techniques: 	The use of non-intrusive Persistor.NET makes it easy to develop, 	evolve, and maintain software code in an agile manner.</p>
</li>
</ul>
<p style="margin-bottom: 0in"><strong>Initial Review</strong></p>
<p>After a quick download (420 KB) and installation, I opened up the sample application in Visual Studio .Net 2005 and stepped through the project.  This gave me the information needed to use the product.</p>
<p>I created a new website in Visual Studio .Net 2005 and added references to <font size="2" color="#3366cc" style="font-size: 11pt"><font face="Courier New, monospace">ToTop.Datastore.dll</font></font> and <font size="2" color="#3366cc" style="font-size: 11pt"><font face="Courier New, monospace">ToTop.Persistor.dll.</font></font>  I borrowed code from the sample on creating a reference to the datastore and persistor objects:</p>
<p><font size="2" color="#3366cc" style="font-size: 11pt"><font face="Courier New, monospace">Datastore datastore = datastore.CreateDefault();<br />
if(!datastore.Exists())<br />
datastore.Instantiate();<br />
Persistor persistor = new Persistor(datastore);<br />
persistor.Save(myObject);</font></font></p>
<p>I created a simple class with 2 private fields, 2 public properties to expose those fields, and marked the class with the <font size="2" color="#3366cc" style="font-size: 11pt"><font face="Courier New, monospace">[Serializable]</font></font> attribute.  Within ten minutes of installing the product I had a working example to create, read, update and delete data, without writing a single line of T-SQL.  This product was immensely easier to use than any other object persistence framework I had seen to date.  On the small scale that I have implemented this, it seems very fast for all it has to do at runtime.  I look forward to taking a look at the full version.</p>
<p><strong>Conclusion</strong></p>
<p>This is a fast and simple framework that will attract more developers that need to quickly develop business applications.  However, unless the future version has the ability to choose a database server, database name, and user credentials, this product will probably not attract many ASP.Net developers.  Most ASP.Net development that includes a database typically uses a stand alone database server and doesn&#8217;t combine ASP.Net and SQL on one box.  The Express version of the product looks for the Persistor database on the localhost.  This is great for Windows client software developers, but sends us ASP.Net developers back to the Open Source arena to provide a solution.  Look for a review of the full version in Part II of this post.</p>
<p><strong>Updated 6/7/2006:</strong><br />
I contacted the developers to inquire about the Professional Edition features and pricing.  At 990 euros (~$1271 US) for the single developer edition, further evaluation of this product is cost prohibitive.  Back to open source <img src='http://www.ryanbrady.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F&amp;title=Persistor.Net+Object+Persistence+Framework" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F&amp;title=Persistor.Net+Object+Persistence+Framework" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F&amp;title=Persistor.Net+Object+Persistence+Framework" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F&amp;title=Persistor.Net+Object+Persistence+Framework" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F&amp;title=Persistor.Net+Object+Persistence+Framework', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F&amp;title=Persistor.Net+Object+Persistence+Framework" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.ryanbrady.org%2F2006%2F06%2F02%2Fpersistornet-object-persistence-framework%2F&amp;title=Persistor.Net+Object+Persistence+Framework" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.ryanbrady.org/2006/06/02/persistornet-object-persistence-framework/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

