<?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>Live PowerShell With Karl Prosser &#187; powerboots</title>
	<atom:link href="http://karlprosser.com/coder/category/powerboots/feed/" rel="self" type="application/rss+xml" />
	<link>http://karlprosser.com/coder</link>
	<description>invoke-intelligence &#124; where { $_.necessary }</description>
	<lastBuildDate>Tue, 01 May 2012 18:50:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PowerBoots &#8211; a beautiful DSL , not to mention useful.</title>
		<link>http://karlprosser.com/coder/2009/10/12/powerboots-a-beautiful-dsl-not-to-mention-useful/</link>
		<comments>http://karlprosser.com/coder/2009/10/12/powerboots-a-beautiful-dsl-not-to-mention-useful/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 06:14:34 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[powerboots]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://karlprosser.com/coder/2009/02/12/powerboots-a-beautiful-dsl-not-to-mention-useful/</guid>
		<description><![CDATA[I’ve always liked the fact that I can extend PowerShell, whether its just a little bit of syntax here or there, or a full blown DSL, and end up with something that is still naturally powershelly. Jaykul (Joel Bennet) has really used PowerShell in such a way. really making something that is pithy, follows a [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve always liked the fact that I can extend PowerShell, whether its just a little bit of syntax here or there, or a full blown DSL, and end up with something that is still naturally powershelly. <a href="http://huddledmasses.org/">Jaykul (Joel Bennet)</a> has really used PowerShell in such a way. really making something that is pithy, follows a DRY philosophy, and is METAPROGRAMMING on two levels (the auto generation of the PowerShell functions and parameters, and of course the XAML). Its not only a beautiful example of PowerShell as a DSL, but also ultimately useful. I really think it has the potential to become the tcl/tk of PowerShell and the primary admin GUI scripting framework. I’m so impressed with it, we at ShellTools are definitely going to adjust our PowerShell WPF designer to support Boots. Boots is also now a <a href="http://www.codeplex.com/PowerBoots">codeplex project</a></p>
<p>Below is an example of the script, and a few screenshots and videos from Jaykul’s blog.</p>
<pre><span style="color: #000000">Boots {
   StackPanel </span><span style="color: #000000">-</span><span style="color: #008080">Margin</span><span style="color: #000000"> </span><span style="color: #ff0000">10</span><span style="color: #000000"> {
      TextBlock </span><span style="color: #000080">&quot;</span><span style="color: #000080">The Question</span><span style="color: #000080">&quot;</span><span style="color: #000000"> </span><span style="color: #000000">-</span><span style="color: #008080">FontSize</span><span style="color: #000000"> </span><span style="color: #ff0000">42</span><span style="color: #000000"> </span><span style="color: #000000">-</span><span style="color: #008080">FontWeight</span><span style="color: #000000"> Bold </span><span style="color: #000000">-</span><span style="color: #008080">Foreground</span><span style="color: #000000"> </span><span style="color: #000080">&quot;</span><span style="color: #000080">#FF0088</span><span style="color: #000080">&quot;</span><span style="color: #000000">
      TextBlock </span><span style="color: #000000">-</span><span style="color: #008080">FontSize</span><span style="color: #000000"> </span><span style="color: #ff0000">24</span><span style="color: #000000"> {
         Hyperlink {
            Bold </span><span style="color: #000080">&quot;</span><span style="color: #000080">Q. </span><span style="color: #000080">&quot;</span><span style="color: #000000">
            </span><span style="color: #000080">&quot;</span><span style="color: #000080">Can PowerBoots do async threads?</span><span style="color: #000080">&quot;</span><span style="color: #000000">
         } </span><span style="color: #000000">-</span><span style="color: #008080">NavigateUri</span><span style="color: #000000"> </span><span style="color: #000080">&quot;</span><span style="color: #000080"> </span><span style="color: #000080">&quot;</span><span style="color: #000000"> </span><span style="color: #000000">-</span><span style="color: #008080">On_RequestNavigate</span><span style="color: #000000"> { </span><span style="color: #0000ff">$global:Answer</span><span style="color: #000000">[</span><span style="color: #ff0000">0</span><span style="color: #000000">].Visibility </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000080">&quot;</span><span style="color: #000080">Visible</span><span style="color: #000080">&quot;</span><span style="color: #000000"> }
      }
      TextBlock </span><span style="color: #000000">-</span><span style="color: #008080">FontSize</span><span style="color: #000000"> </span><span style="color: #ff0000">16</span><span style="color: #000000"> {
         Span </span><span style="color: #000080">&quot;</span><span style="color: #000080">A. </span><span style="color: #000080">&quot;</span><span style="color: #000000"> </span><span style="color: #000000">-</span><span style="color: #008080">FontSize</span><span style="color: #000000"> </span><span style="color: #ff0000">24</span><span style="color: #000000"> </span><span style="color: #000000">-</span><span style="color: #008080">FontWeight</span><span style="color: #000000"> Bold
         </span><span style="color: #000080">&quot;</span><span style="color: #000080">Oh yes we can!</span><span style="color: #000080">&quot;</span><span style="color: #000000">
      } </span><span style="color: #000000">-</span><span style="color: #008080">OV</span><span style="color: #000000"> global:Answer </span><span style="color: #000000">-</span><span style="color: #008080">Visibility</span><span style="color: #000000"> Collapsed
   }
} </span></pre>
<p>.</p>
<p><img height="451" alt="PowerBoots11.png" src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=PowerBoots&amp;DownloadId=57360" width="757" /></p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://karlprosser.com/coder/2009/10/12/powerboots-a-beautiful-dsl-not-to-mention-useful/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

