<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Thinking Loudly</title>
	<atom:link href="http://spencerdillard.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://spencerdillard.wordpress.com</link>
	<description>Thoughts on technology, entrepreneurism, small business, finance, and global competition</description>
	<lastBuildDate>Thu, 04 Jun 2009 15:21:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='spencerdillard.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Thinking Loudly</title>
		<link>http://spencerdillard.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://spencerdillard.wordpress.com/osd.xml" title="Thinking Loudly" />
	<atom:link rel='hub' href='http://spencerdillard.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Reflections on Startup Weekend 2: We got it right this time</title>
		<link>http://spencerdillard.wordpress.com/2009/06/04/reflections-on-startup-weekend-2-we-got-it-right-this-time/</link>
		<comments>http://spencerdillard.wordpress.com/2009/06/04/reflections-on-startup-weekend-2-we-got-it-right-this-time/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 15:21:26 +0000</pubDate>
		<dc:creator>spencerdillard</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[LaunchMemphis]]></category>
		<category><![CDATA[entrepreneurism]]></category>

		<guid isPermaLink="false">http://spencerdillard.wordpress.com/?p=36</guid>
		<description><![CDATA[So, after an awesome weekend (and a break helping to take care of my youngest daughter after her surgery), I wanted to jot down some reflections on startup weekend 2 in Memphis. Overall, it was awesome.  Really. Awesome.  What blew me away was that the groups this year were laser-focused; they had their idea and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=36&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So, after an awesome weekend (and a break helping to take care of my youngest daughter after her surgery), I wanted to jot down some reflections on startup weekend 2 in Memphis.</p>
<p>Overall, it was awesome.  Really. Awesome.  What blew me away was that the groups this year were laser-focused; they had their idea and they executed.  I felt a little guilty that our Roll Play team was so blitheringly good.  It seemed unfair.  With almost the entire RocketFuel team on our side, the majority of people had mind-melded before we even started.  Add to that some of the best business development people I have met and what a mix.  In 2 days, we really had a company and a product &#8212; www.therollplay.com.  The coordination was impressive, our fearless leader kept tabs on everything so that we were all informed without having to constantly ask the status of other people&#8217;s stuff.  Even had a promo video, which was oddly fitting to the product.  The team is continuing, and the pace has slowed; we all have real jobs, after all.  But, it didn&#8217;t die. It&#8217;s moving on and seems to have found a niche.</p>
<p>As always, I learned a lot from everyone there &#8212; new technologies, concepts, techniques, etc.  And, just like last year, no one had to think about all the basics; LaunchMemphis really does a great job of just taking care of so many things that participants just do what they are there to do &#8212; food magically shows up, Red Bull magically appears when needed, coffee ready for the gulping.</p>
<p>Can&#8217;t wait til the next one, but I have to say, this one&#8217;s gonna be tough to beat.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spencerdillard.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spencerdillard.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spencerdillard.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spencerdillard.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spencerdillard.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spencerdillard.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spencerdillard.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spencerdillard.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spencerdillard.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spencerdillard.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spencerdillard.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spencerdillard.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spencerdillard.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spencerdillard.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=36&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spencerdillard.wordpress.com/2009/06/04/reflections-on-startup-weekend-2-we-got-it-right-this-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae59947a383b0cb287069a38e09369aa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">spencerdillard</media:title>
		</media:content>
	</item>
		<item>
		<title>The Web as an Operating System</title>
		<link>http://spencerdillard.wordpress.com/2009/06/04/the-web-as-an-operating-system/</link>
		<comments>http://spencerdillard.wordpress.com/2009/06/04/the-web-as-an-operating-system/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 15:10:41 +0000</pubDate>
		<dc:creator>spencerdillard</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://spencerdillard.wordpress.com/?p=28</guid>
		<description><![CDATA[The last couple of months have involved a lot of development around the need for an application that can run on the web and on the desktop.  Mixed with Google&#8217;s Chrome and Google Gears, one can see that this is starting to happen.  Why should it matter if I am on Windows, Mac, or Linux?  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=28&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The last couple of months have involved a lot of development around the need for an application that can run on the web and on the desktop.  Mixed with Google&#8217;s Chrome and Google Gears, one can see that this is starting to happen.  Why should it matter if I am on Windows, Mac, or Linux?  I want to run my app and I want to do it from anywhere, on any device, whenever I want. And I don&#8217;t really care if it is a web applicatio or a desktop application; all I care about is the functionality.</p>
<p>If you want to do this right now, get ready to be sliced on the cutting edge.  For example, it can be done using SproutCore, Ruby on Rails, and Google Gears, but whew &#8212; it&#8217;s hard.  All of these are evolving, so keeping up with rapid change in all three can be very exhausting.  And there are very few resources in terms of best practices for security, etc.</p>
<p>To focus on the UI aspect for a bit, the two frameworks that I find really exciting right now are SproutCore and ExtJS.  Both of these offer tremendous layout managers and excellent data management.  Unfortunately, I find both to be very hard to develop in, especially ExtJS.  So far SproutCore has been more manageable, but that may just be a personal preference.  The downside is that it is really, really young; no way is a core business application going to be accepted yet.  And what is still frustrating is that none of these provides anything close to the developer experience of, say, WinForm development in Visual Studio.  And the IDE&#8217;s have simply not kept up with these technologies.  In order for people to start building real application-like web experiences, there will have to be IDEs that provide the WYSIWIG functionality you really need (imo) for form-based application development.</p>
<p>But, keep your eyes on SproutCore &#8212; I&#8217;ve only recently learned of it (a nice side-benefit of participating in Startup Weekend), but me likey.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spencerdillard.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spencerdillard.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spencerdillard.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spencerdillard.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spencerdillard.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spencerdillard.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spencerdillard.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spencerdillard.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spencerdillard.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spencerdillard.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spencerdillard.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spencerdillard.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spencerdillard.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spencerdillard.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=28&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spencerdillard.wordpress.com/2009/06/04/the-web-as-an-operating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae59947a383b0cb287069a38e09369aa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">spencerdillard</media:title>
		</media:content>
	</item>
		<item>
		<title>A Javascript Storage Pattern in Rails with Javascript Auto Include</title>
		<link>http://spencerdillard.wordpress.com/2009/04/22/javascript-datastore-pattern-with-jsautoinclud/</link>
		<comments>http://spencerdillard.wordpress.com/2009/04/22/javascript-datastore-pattern-with-jsautoinclud/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 16:29:58 +0000</pubDate>
		<dc:creator>spencerdillard</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://spencerdillard.wordpress.com/?p=30</guid>
		<description><![CDATA[Implementing a javascript storage pattern in Ruby on Rails using the javascript_auto_include plugin.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=30&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the things I&#8217;ve often struggled with in web app development is the temporary storage of information.  I recently started using the <a href="http://kernowsoul.com/page/javascript_auto_include" target="_blank">Javscript Auto Include plugin</a>, and I love this plugin, not only because it allows me to encapsulate my js logic, but also because it lets me have a temporary storage vehicle for each view.  If you haven&#8217;t checked out this plugin, what it does is allow you to create a structure for js that mirrors your view structure.  By using a strong namespacing structure and this concept, I essentially have a view that is a javascript file.  Combining this with jrails, allows for a very compact and efficient js file size (I&#8217;ll work on minifying my views later, which is one of the downsides of this approach).</p>
<p>Now, what makes this really cool is that I can namespace my views.  So I have</p>
<p>com.mysite.views = { }; // in javascripts/views.js</p>
<p>com.mysite.views.users = { }; // in javascripts/views/users.js</p>
<p>com.mysite.views.users.add_user = { }; // in javascripts/views/users/add_user.js</p>
<p>And in my add_user view, I can store values in the js object or have methods that I know will be defined.  In other words, I get the same scoping that I would if I were calling views in namespaces in RoR, allowing for very straightforward refactoring of my javascript.</p>
<p>Each js file only contains what is needed for that view or for views in the same package; common functionality is in the overall views.js file, which is always included (from the app layout).</p>
<p>So, temporary storage, smaller js files, unpolluted global namespace, better organized js files.  That&#8217;s a lot to get out of a rather simple plugin.</p>
<p>(Before anyone posts that this won&#8217;t work if the user has JS disabled, no it won&#8217;t, but in the site I am working on, having JS enabled is a requirement to even logging in.)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spencerdillard.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spencerdillard.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spencerdillard.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spencerdillard.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spencerdillard.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spencerdillard.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spencerdillard.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spencerdillard.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spencerdillard.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spencerdillard.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spencerdillard.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spencerdillard.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spencerdillard.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spencerdillard.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=30&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spencerdillard.wordpress.com/2009/04/22/javascript-datastore-pattern-with-jsautoinclud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae59947a383b0cb287069a38e09369aa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">spencerdillard</media:title>
		</media:content>
	</item>
		<item>
		<title>Memphis Entrepreneurism &#8212; Doing it Our Way</title>
		<link>http://spencerdillard.wordpress.com/2008/11/10/memphis-entrepreneurism-doing-it-our-way/</link>
		<comments>http://spencerdillard.wordpress.com/2008/11/10/memphis-entrepreneurism-doing-it-our-way/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 17:46:26 +0000</pubDate>
		<dc:creator>spencerdillard</dc:creator>
				<category><![CDATA[LaunchMemphis]]></category>
		<category><![CDATA[barcamp]]></category>
		<category><![CDATA[diversity]]></category>

		<guid isPermaLink="false">http://spencerdillard.wordpress.com/?p=26</guid>
		<description><![CDATA[Reflections on the audience attending BarCamp and where it will lead us as a community<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=26&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Having spent the weekend at Memphis&#8217; first <a title="BarCamp" href="http://barcampmemphis.com/" target="_blank">BarCamp</a>, I was struck by how different Memphis is from other cities that are trying to develop an entrepreneurial environment.  In most cities an event like this would be filled with white males under the age of 35.  Not here.  Looking around the rooms, it was obvious to me that we have attracted a different audience.  Our audience consists of a mix that, well, looks more like our country.  This is in terms of race, gender, physically impaired and not, and pretty much whatever dimension you could think of.  I suppose this is also an extension of how LaunchMemphis was organized, as it is also diverse in terms of gender, race, and age.  None of this was planned &#8212; it is just the natural fabric of Memphis.</p>
<p>And, I was proud.  The reason was not that we met some social expectation of diversity, but that we are able to bring a totally  unique perspective to startups that most cities cannot.  When you bring together such a diverse crowd, you will get diverse opinions.  When these different backgrounds are brought to bear on new web applications or social networking strategies, they will be very, very different from a group of young all white male coders.  And, I can&#8217;t wait to see where it leads.  One thing I know for sure is that it won&#8217;t look like the gatherings that take place in DC, the Valley, or Austin.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spencerdillard.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spencerdillard.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spencerdillard.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spencerdillard.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spencerdillard.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spencerdillard.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spencerdillard.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spencerdillard.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spencerdillard.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spencerdillard.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spencerdillard.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spencerdillard.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spencerdillard.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spencerdillard.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=26&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spencerdillard.wordpress.com/2008/11/10/memphis-entrepreneurism-doing-it-our-way/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae59947a383b0cb287069a38e09369aa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">spencerdillard</media:title>
		</media:content>
	</item>
		<item>
		<title>Breathing in new AIR</title>
		<link>http://spencerdillard.wordpress.com/2008/09/29/breathing-in-new-air/</link>
		<comments>http://spencerdillard.wordpress.com/2008/09/29/breathing-in-new-air/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 20:16:13 +0000</pubDate>
		<dc:creator>spencerdillard</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[development AIR]]></category>

		<guid isPermaLink="false">http://spencerdillard.wordpress.com/?p=24</guid>
		<description><![CDATA[A very broad brush summary of Adobe AIR and its application as an offline/online framework.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=24&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a lot of fun exploring some of the more recent technologies of late, and my next stop might be one of the most exciting so far.  I started working with Adobe&#8217;s AIR product last week, and I am very, very impressed.  First, let me disclose that I am not a fan of Flash (understatement of the year award goes to&#8230;).  So, I didn&#8217;t give AIR a shot.  Mistake. AIR is like having a web server running within an application that can run on any OS.  Writing html and javascript allows for leveraging existing skills, but also allows for focusing on the output and interaction without worrying about how many browsers to support or handling all the IE hacks.</p>
<p>AIR isn&#8217;t perfect, but there are some aspects that it addresses that are enthralling:</p>
<p>1. It runs on WebKit, so I don&#8217;t have to test on 5 browsers and 3 platforms (not entirely true, depending on how you deal with menus and filesystems in AIR, but basically accurate).</p>
<p>2. It can run connected or disconnected.  Perfect if you are facing a project that has a need for both online and offline functionality, as I currently do.</p>
<p>3. It has excellent support for javascript libraries like Yahoo YUI and JQuery.</p>
<p>4. If planned well, one can re-use much of the development in a web version of an application (not exactly, write once, run anywhere, but closer than any alternative I&#8217;ve seen).</p>
<p>5. Access to local file system and SQLite database.  Try that in your web app.</p>
<p>Of course, the downside is that an AIR app gets installed.  This is an obvious requirement for such an application, but it is a downside relative to running a Flash swf, since corporations would have to allow admin priveleges.</p>
<p>So, if you haven&#8217;t given it a fair shake, I&#8217;d strongly suggest you do.  One could easily argue that it is also the worst of two worlds&#8211;it requires an installation like a WinForm app and it is not quite as easy to ensure everyone has the right version as it is with a Web app.  However, if you are facing an offline/online requirement, you are not doing yourself a favor by ignoring the potential of this framework.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spencerdillard.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spencerdillard.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spencerdillard.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spencerdillard.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spencerdillard.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spencerdillard.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spencerdillard.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spencerdillard.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spencerdillard.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spencerdillard.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spencerdillard.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spencerdillard.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spencerdillard.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spencerdillard.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=24&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spencerdillard.wordpress.com/2008/09/29/breathing-in-new-air/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae59947a383b0cb287069a38e09369aa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">spencerdillard</media:title>
		</media:content>
	</item>
		<item>
		<title>The Impact of Google&#8217;s Chrome on a Mindset</title>
		<link>http://spencerdillard.wordpress.com/2008/09/21/the-impact-of-googles-chrome-on-a-mindset/</link>
		<comments>http://spencerdillard.wordpress.com/2008/09/21/the-impact-of-googles-chrome-on-a-mindset/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 03:02:04 +0000</pubDate>
		<dc:creator>spencerdillard</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[chrome]]></category>

		<guid isPermaLink="false">http://spencerdillard.wordpress.com/?p=22</guid>
		<description><![CDATA[Some reflections on using Google's Chrome and how it alters the way one thinks about a browser.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=22&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Like millions of other people, I downloaded and installed Chrome the week it came out.  My reaction was a bit of a rollercoaster ride.  I loved the cleanliness and simplicity.  Great protection against crashes.  Nice private surfing mode.  But where are my developer plugins.  Where&#8217;s my status bar.  Where&#8217;s my 200 plugins that I&#8217;ve grown accustom to.  But wait, I can make it behave like an app?  I can do some of the developer functions without a plugin?  And, man is it fast with my jquery and prototype libraries.  Most of these have been reported on, so I won&#8217;t waste too much space&#8230;</p>
<p>But, what I realized today is that it kinda makes me think differently.  My browser is nothing but an environment to use applications that have data on the web.  Well, maybe even that is too strict&#8211;it is an environment to run applications.  Period.  For some reason, I&#8217;ve never thought of my trusty old Firefox that way.  Hmmm&#8230;  One of the areas that I have been doing a fair amount of research on is disconnected clients.  Silverlight and Air have been the two I&#8217;ve been spending the most time with, but the ability to house them in the browser and let Chrome create the shortcut creates some nice UI aspects.  Maybe it isn&#8217;t a web browser but an application host.  (Not that Firefox and, God forbid, IE aren&#8217;t, but they just don&#8217;t lend themselves to thinking that way as much.)  I guess the big question is what is the adoption going to look like.  If its big, then it really opens some doors in the corporate market to distribute apps that can really have the screen real estate they need (and deserve).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spencerdillard.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spencerdillard.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spencerdillard.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spencerdillard.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spencerdillard.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spencerdillard.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spencerdillard.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spencerdillard.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spencerdillard.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spencerdillard.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spencerdillard.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spencerdillard.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spencerdillard.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spencerdillard.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=22&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spencerdillard.wordpress.com/2008/09/21/the-impact-of-googles-chrome-on-a-mindset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae59947a383b0cb287069a38e09369aa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">spencerdillard</media:title>
		</media:content>
	</item>
		<item>
		<title>Another Visit to the Bleeding Edge</title>
		<link>http://spencerdillard.wordpress.com/2008/09/02/another-visit-to-the-bleeding-edge/</link>
		<comments>http://spencerdillard.wordpress.com/2008/09/02/another-visit-to-the-bleeding-edge/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 06:26:26 +0000</pubDate>
		<dc:creator>spencerdillard</dc:creator>
				<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://spencerdillard.wordpress.com/?p=19</guid>
		<description><![CDATA[A re-try on using the Visual WebGui framework after not paying attention for a year or so.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=19&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I guess I was just in the mood for some pain again.  That&#8217;s the only reason that I can think of that I spent time again on <a href="http://www.visualwebgui.com" target="_blank">Visual WebGui</a>.  This is one of the most promising technologies I&#8217;ve seen for developing web applications (and I mean web applications, not sites).  I tried it about a year ago and gave up since I felt like there were too many annoying little things to fight through.  They&#8217;ve come a long way, but it is still beta.  I had to remind myself of that every 5 minutes, since the Silverlight SDK didn&#8217;t install correctly, the Silverlight app did nothing but spin and tell me I was at 100%, and none of the GUIs would show the MainMenu.  These are all logged in their forum, but they are bugs.  Unfortunately, I need to have something to show soon, and I don&#8217;t have the patience to get 90% done only to find that there is some critical issue that will kill the whole concept.  But, keep your eyes on it, because it (for the most part) does what it is supposed to and does it really well.</p>
<p>But one of the most ironic things was that I remember back in 2000 when I worked for a company that built a browser-based ActiveX control that used SOAP for the communication with the COM+ server using ISAPI on IIS.  Now, that was bleeding edge.   And the funny thing is that people wanted web sites to look like applications.  Somehow, this is now a negative in almost all cases &#8212; people want the thing in the browser to look like it is supposed to be in the browser.  Ok, so I can have context menus using this framework.  That&#8217;s awesome, but users don&#8217;t expect them.  How many times have you accidentally right-clicked in Google app and gone &#8216;wait&#8211;that&#8217;s not the normal context menu.  nice!&#8217; only to wonder how many users ever bothered to right click?</p>
<p>Well, I guess I&#8217;ll keep watching from the sidelines until the right application comes along (and the framework matures).</p>
<p>P.S. VWG guys &#8212; if you happen to read this, please clarify what the licensing model is.  Incredibly confusing right now, and no one wants to get excited about something if they can&#8217;t figure out if it is free or has a cost per server.  I don&#8217;t bother going to the Ferrari dealer, because I know I&#8217;ll just want something I can&#8217;t have.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/spencerdillard.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/spencerdillard.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spencerdillard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spencerdillard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spencerdillard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spencerdillard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spencerdillard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spencerdillard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spencerdillard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spencerdillard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spencerdillard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spencerdillard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spencerdillard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spencerdillard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spencerdillard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spencerdillard.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=19&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spencerdillard.wordpress.com/2008/09/02/another-visit-to-the-bleeding-edge/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae59947a383b0cb287069a38e09369aa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">spencerdillard</media:title>
		</media:content>
	</item>
		<item>
		<title>Testing Like Rails</title>
		<link>http://spencerdillard.wordpress.com/2008/08/28/testing-like-rails/</link>
		<comments>http://spencerdillard.wordpress.com/2008/08/28/testing-like-rails/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 22:07:20 +0000</pubDate>
		<dc:creator>spencerdillard</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://spencerdillard.wordpress.com/?p=17</guid>
		<description><![CDATA[Reached a landmark with a good infrastructure for database development, code generation, and testing.  Now to get on to the tools infrastructure for some automation.  Can't wait to actually do real development with this in place, but it's important to make sure it's all gonna work before I code a bunch of stuff that blows up.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=17&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of my main goals in this project was to be able to do full lifecycle testing on objects I&#8217;m using and to get pretty close to test driven development.  I realize there are some good reasons to mock data and not use the database, but in my case, I want to do so in order to create some scenarios that can later be used for demo purposes, and I have some values that are database-generated that I want to test.  If we can keep ourselves honest by creating cases that are good enough to demo, then we should be doing a pretty good job of covering the system.  Of course, there are some tests that don&#8217;t fit this profile &#8212; testing that a partial save of a hierarchy intentionally fails, etc., but most are a great fit.  So, what I wanted was to have a test database separate from production and dev but not have to keep up with SPs and schemas.  Here&#8217;s how it works:</p>
<p><strong>Testing the UI</strong></p>
<p>In my web.config, I&#8217;ve got connections for Dev and Test.  In my Unit tests, I&#8217;ve got an app.config pointing to a local test database (I&#8217;ll add a demo database later). Following the rails model, there are methods for creating an entity &#8212; things like &#8220;TheJonesFamily&#8221; that are static and return an entity.  These get used throughout all the tests.  I categorize my tests as follows:</p>
<ul>
<li>Model tests &#8211; building blocks for testing models and combinations of models (ModelTest)</li>
<li>Direct insertion of data and verification of data in the database (DirectDataTest)</li>
<li>Controller tests for create actions (UICreateTest)</li>
<li>Controller tests for view (show) actions (UIViewTest)</li>
<li>Demo tests &#8211; these are the tests that are used in building the demo data (DemoTest)</li>
</ul>
<p>I&#8217;m using <a href="http://code.google.com/p/migratordotnet/" target="_blank">Migrator.net</a>, so I&#8217;ve got separate proj files for dev and test.  One of the nice things is that in some of my tests, I&#8217;ve got TearDowns that reset the database, essentially migrate down then back (also a nice double-check that the migrations are in good shape both up and down the chain).  But I can keep whatever data is lying around in my dev db without any impacts.  This also lets me run MSBuild (to move to NAnt later) to update my demo site by running the tests with that category.  So, in one step, I update the system, test it, and load demo data.  Much happy.  Obviously, things are a little more complex for production, but that&#8217;ll be another post.</p>
<p>At the end of the day, I&#8217;m on my way to a very usable infrastructure for development &#8212; the cycle is this (so far):</p>
<ul>
<li>Create migrations</li>
<li>Run the PLINQO Codesmith Templates (with some modifications I&#8217;ve made) to generate the DBML, update the generated entities, and update the managers</li>
<li>Update unit test entities (essentially stubs that can be saved to the database &#8212; mocks will get used later for external services, etc.)</li>
<li>Update unit tests for the models, controllers, and views</li>
<li>Update logic in the models, controllers, and views</li>
<li>Test</li>
</ul>
<p>It ain&#8217;t perfect, but it&#8217;s a heckuva lot better than what I would have done if I hadn&#8217;t met Rails.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/spencerdillard.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/spencerdillard.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spencerdillard.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spencerdillard.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spencerdillard.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spencerdillard.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spencerdillard.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spencerdillard.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spencerdillard.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spencerdillard.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spencerdillard.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spencerdillard.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spencerdillard.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spencerdillard.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spencerdillard.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spencerdillard.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=17&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spencerdillard.wordpress.com/2008/08/28/testing-like-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae59947a383b0cb287069a38e09369aa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">spencerdillard</media:title>
		</media:content>
	</item>
		<item>
		<title>Life on the Bleeding Edge</title>
		<link>http://spencerdillard.wordpress.com/2008/08/27/life-on-the-bleeding-edge/</link>
		<comments>http://spencerdillard.wordpress.com/2008/08/27/life-on-the-bleeding-edge/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 22:34:57 +0000</pubDate>
		<dc:creator>spencerdillard</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[LINQ to Entities]]></category>
		<category><![CDATA[LINQ to SQL]]></category>
		<category><![CDATA[Model Driven Development]]></category>

		<guid isPermaLink="false">http://spencerdillard.wordpress.com/?p=15</guid>
		<description><![CDATA[Yet another detour on the road to making it easy to develop and extensible and maintainable system.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=15&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I suppose that this blog is partially about the journey and partially about the cathartic effects of writing out frustrations, so I guess this entry goes under the category of frustrations.  Having spent quite a few hours trying to work with LINQ to Entities, I&#8217;m having different, but equally frustrating problems as I had with LINQ to SQL trying to use it in the real world.  So, this new, shiny thing doesn&#8217;t support setting types as enumerations.  Really?  Aren&#8217;t enumerations one of the most common types used?  How this can be shipped without it is beyond me.  It just screams deadline over quality, and I&#8217;m not happy.  And, well, I just don&#8217;t believe it is ready for primetime.  You can create a single table inheritance model, but you can&#8217;t create any associations to that descendent entity.  So, what exactly is the point, then?  I&#8217;m really happy that I can draw a pretty picture of my domain model as long as it doesn&#8217;t have to DO anything (let me know when you wipe the dripping sarcasm off your sleeve, there).</p>
<p>I&#8217;m a big believer in model driven development.  I think developers should spend their time on the logic and the value add, not the rote mechanisation of creating classes and mapping them to tables and creating sql scripts.  Unfortunately, I can&#8217;t say that Microsoft is there yet.  Progressing, to be sure, but simply not there.  Everything gets you only halfway, and then it is all set up to regenerate on top of itself, so you can&#8217;t really even hand modify the code.  I&#8217;m trying to build a framework for a team-based development project, and I wanted to evaluate using newer MS technologies for this project.  But, I gotta say that I call treuce.  I&#8217;m going to give up on single table inheritance (wah) and go back to the PLINQO approach.  Frankly, giving up on these really sucks, because I was excited about where things are going with both LINQ to SQL and LINQ to Entities, but it just isn&#8217;t primetime.</p>
<p>If anyone out there has used these technologies in a real world application, please let me know&#8211;I always want to know if I am just doing it wrong, but I can&#8217;t see how either of these technologies can work out of the box.  And last, but not least, the whole reason for this trek was to make my life easier, not to spend 3 fruitless days playing with crap (ok, promising crap, but crap nonetheless) that doesn&#8217;t work in the real world.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/spencerdillard.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/spencerdillard.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spencerdillard.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spencerdillard.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spencerdillard.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spencerdillard.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spencerdillard.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spencerdillard.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spencerdillard.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spencerdillard.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spencerdillard.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spencerdillard.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spencerdillard.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spencerdillard.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spencerdillard.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spencerdillard.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=15&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spencerdillard.wordpress.com/2008/08/27/life-on-the-bleeding-edge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae59947a383b0cb287069a38e09369aa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">spencerdillard</media:title>
		</media:content>
	</item>
		<item>
		<title>And now on to LINQ to Entities</title>
		<link>http://spencerdillard.wordpress.com/2008/08/27/and-now-on-to-linq-to-entities/</link>
		<comments>http://spencerdillard.wordpress.com/2008/08/27/and-now-on-to-linq-to-entities/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 19:11:12 +0000</pubDate>
		<dc:creator>spencerdillard</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[LINQ to Entities]]></category>
		<category><![CDATA[LINQ to SQL]]></category>

		<guid isPermaLink="false">http://spencerdillard.wordpress.com/?p=13</guid>
		<description><![CDATA[Another (painful) marker on the trail of bringing some of the ease of development from RoR to ASP.net<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=13&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After way too much work with PLINQO and LINQ to SQL, I discovered that it simply won&#8217;t work for my little project.  The problem is that I want to use single table inheritance for some common elements (notes, addresses, etc.); however, I want to be able to access the children of an item as a collection.  For example, assume I have this (not being precise with my code here):</p>
<p>class Relationship<br />
{<br />
public ICollection&lt;RelationshipNote&gt; Notes {get; set; }<br />
}</p>
<p>class RelationshipNote : Note<br />
{<br />
public Relationship Relationship {get; set;}<br />
}</p>
<p>class Note { }</p>
<p>I want to be able to traverse from both ends of the relationship.  In LINQ to SQL, you apparently cannot have this setup.  To be perfectly honest, I&#8217;m not clear where in the model it breaks down.  All I know is that it doesn&#8217;t work, and it took me 8 different tries and about 10 hours to figure out that the only way you could do this type of setup is if you maintain the RelationshipNote in its own table and use it as a type directly.  And if anyone has an answer about a way to make it work, please do post a comment.  Clearly, I don&#8217;t want to have to add a new table whenever I want to associate a note to a new object, so this wasn&#8217;t going to cut it.  Maybe I&#8217;m crazy, but this doesn&#8217;t seem like such a complex or far-out approach to modeling the database or the classes&#8211;why it isn&#8217;t supported is beyond me.</p>
<p>However, I am using Migrator.Net to create the tables, and so it should be relatively painless to run the migration locally, update the entity data model, update the tests and go.  This is still on the right track, but I didn&#8217;t enjoy the detour very much.</p>
<p>And now on to LINQ to Entities.  I&#8217;m just now installing VS2008 SP1, so I expect that my next post on this journey will be on whether it does what it supposedly does in the context of my real-world project.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/spencerdillard.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/spencerdillard.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spencerdillard.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spencerdillard.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spencerdillard.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spencerdillard.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spencerdillard.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spencerdillard.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spencerdillard.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spencerdillard.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spencerdillard.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spencerdillard.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spencerdillard.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spencerdillard.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spencerdillard.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spencerdillard.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spencerdillard.wordpress.com&amp;blog=4564352&amp;post=13&amp;subd=spencerdillard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spencerdillard.wordpress.com/2008/08/27/and-now-on-to-linq-to-entities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae59947a383b0cb287069a38e09369aa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">spencerdillard</media:title>
		</media:content>
	</item>
	</channel>
</rss>
