<?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>amptools &#187; name</title>
	<atom:link href="http://www.amptools.net/tag/name/feed" rel="self" type="application/rss+xml" />
	<link>http://www.amptools.net</link>
	<description>Simplify your life.</description>
	<lastBuildDate>Sat, 08 May 2010 07:40:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Asp.Net Mvc Add Css Classes To The Body Element</title>
		<link>http://www.amptools.net/blog/asp-net-mvc-add-css-classes-to-the-body-element</link>
		<comments>http://www.amptools.net/blog/asp-net-mvc-add-css-classes-to-the-body-element#comments</comments>
		<pubDate>Thu, 15 Oct 2009 07:00:42 +0000</pubDate>
		<dc:creator>Michael Herndon</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[#AspNetMvc]]></category>
		<category><![CDATA[action]]></category>
		<category><![CDATA[asp.net mvc]]></category>
		<category><![CDATA[body]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://www.amptools.net/?p=234</guid>
		<description><![CDATA[Using the css classes on the body tag/element, you can open a door to having finer control over the layout of your site. Its one of the few decent tricks that bigger Content/Course Management Software like drupal or moodle provides. 
In Asp.Net Mvc this can be done in the master page, outside of the head [...]]]></description>
			<content:encoded><![CDATA[<img class='gravatar' style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=899a978b0f02774a965aec11eeb0b8f4&amp;default=http://amppotls.net' alt='No Gravatar' width=48 height=48/><p>Using the css classes on the body tag/element, you can open a door to having finer control over the layout of your site. Its one of the few decent tricks that bigger Content/Course Management Software like drupal or moodle provides. </p>
<p>In Asp.Net Mvc this can be done in the master page, outside of the head tags.  What makes this nice is using the controller and action name to isolate the page and section of the site you are int.     </p>
<pre class="brush: csharp;">
&lt;/head&gt;
&lt;%
        var values = Html.ViewContext.RouteData.Values;
        var bodyClasses = values[&quot;controller&quot;] + &quot; &quot; +
                        values[&quot;action&quot;];
%&gt;
</pre>
<pre class="brush: xml;">
// in the master page
&lt;body class=&quot;&lt;%= bodyClasses %&gt;&quot;&gt; 

// what should be rendered for the url: /blog/edit/5
&lt;body class=&quot;blog edit&quot;&gt;
</pre>
<p>As you can see above, it would pay off to stick to using the controller and action keywords in your routing.  You could adjust the above for adding the modules/areas name. </p>
<pre class="brush: css;">
.blog aside.column {
        display: none;
}

.blog.edit  footer {
        margin-top: 20px;
        background: transparent(images/egg.png) no-repeat;
}
</pre>
<p>You can now target certain aspects of the layout and change it depending what section of the site you are in.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.amptools.net/blog/asp-net-mvc-add-css-classes-to-the-body-element/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top Ten Worst Opensource Names</title>
		<link>http://www.amptools.net/blog/top-ten-worst-opensource-names</link>
		<comments>http://www.amptools.net/blog/top-ten-worst-opensource-names#comments</comments>
		<pubDate>Wed, 30 Sep 2009 02:53:46 +0000</pubDate>
		<dc:creator>Michael Herndon</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[bad]]></category>
		<category><![CDATA[branding]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[offensive]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.amptools.net/?p=209</guid>
		<description><![CDATA[The top 10 offenders of opensource projects for bad or offensive naming and branding their software. Â Viral? Ignorance? Offensive? Bad? Genius? You decide.
The Top Ten Worst Names
10.Â Gnome &#8211; What does bigfoot have to do with a hobbit like creature? Â There is not even an a clippy version of a gnome on the desktop. Â Not that [...]]]></description>
			<content:encoded><![CDATA[<img class='gravatar' style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=899a978b0f02774a965aec11eeb0b8f4&amp;default=http://amppotls.net' alt='No Gravatar' width=48 height=48/><p>The top 10 offenders of opensource projects for bad or offensive naming and branding their software. Â Viral? Ignorance? Offensive? Bad? Genius? You decide.</p>
<h2>The Top Ten Worst Names</h2>
<p>10.Â <a href="http://www.gnome.org/"><strong>Gnome</strong></a> &#8211; What does bigfoot have to do with a hobbit like creature? Â There is not even an a <a href="http://en.wikipedia.org/wiki/Office_Assistant">clippy</a> version of a gnome on the desktop. Â Not that I&#8217;m a clippyÂ advocate.</p>
<p>9.Â <strong><a href="http://www.gimp.org/">The Gimp</a></strong> &#8211; Derogatory term and it sounds like the software is inept. Â A good reason not to use GNU as part of your name. Imp is cooler.</p>
<p>8.<a href="http://en.wikipedia.org/wiki/GNU/Linux_naming_controversy"> </a><strong><a href="http://en.wikipedia.org/wiki/GNU/Linux_naming_controversy">GNU/Linux</a> </strong>- Having to type GNU in front of Linux is both time consuming and pointless. Which is on par with anything from <a href="http://en.wikipedia.org/wiki/Richard_Stallman">Mr. Stallman</a> these days.</p>
<p>7.Â <a href="http://www.opensuse.org/en/"><strong>openSuse</strong></a> &#8211; um. Is it still a mystery why there are not as many women as men in software development? Â Open in front of any one&#8217;s name is probably never a good idea.</p>
<p>6.Â <a href="http://www.mono-project.com/Main_Page"><strong>Mono</strong></a> &#8211; In Spanish it is a monkey, in English it is a disease.</p>
<p>5.Â <a href="http://projects.gnome.org/tomboy/"><strong>Tomboy</strong></a> &#8211; Who is going to go aroundÂ admittingÂ to using this aloud?</p>
<p>4.Â <a href="http://yum.baseurl.org/"><strong>Yum</strong></a> &#8211; I don&#8217;t know which is worse. A food relatedÂ acronym? Â Or that it stands for is yellowdog updater modified.</p>
<p>3.Â <a href="http://en.wikipedia.org/wiki/PHP"><strong>PHP</strong></a> &#8211; Recursive acronym? &#8220;PHP: Hypertext Preprocessor&#8221;? Â Why? Just why? Â This is the same Â evil as made-up words used by the press like &#8220;athleticism&#8221;, then having it added to the dictionary. ick.</p>
<p>2. Â <a href="http://god.rubyforge.org/"><strong>god</strong></a> &#8211; A ruby plugin. Â It brings shame that developers fight over software tools and languages like it is politics or religion.Â Ridiculous,Â I know. Then someone Â just had to bring religion into it?</p>
<p>1.Â <strong><a href="http://sperm.codeplex.com/">Sperm Reports</a></strong> &#8211; I&#8217;m thinking someone was either downing pints at a bar, or lost a bet. I really don&#8217;t want to even think about other reasons for this name.</p>
<h2>Honorable Mentions.</h2>
<p>Any web 2.0 project like <a href="http://drupal.org/">drupal</a> or<a href="http://drupal.org/"> joomla</a>. <a href="http://misfitgeek.com/blog/aspnet/introducing-netoop-the-net-object-oriented-portal/">Netoops</a> (.net object oriented portal)Â or <a href="http://en.wikipedia.org/wiki/XOOPS">Xoops</a> (extensible object oriented portal). Â Scrum &amp; Scum Master. PR nightmare.</p>
<p>Feel free to add more below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.amptools.net/blog/top-ten-worst-opensource-names/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->