<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Evening Tip: Save Time By Using Multiple Classes.</title>
	<atom:link href="http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/feed/" rel="self" type="application/rss+xml" />
	<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/</link>
	<description>Web Development &#38; Design Tutorials</description>
	<lastBuildDate>Sat, 21 Nov 2009 18:53:09 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alex</title>
		<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/#comment-74062</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 23 Jun 2009 20:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=329#comment-74062</guid>
		<description>All this complaining about descriptive named classes, did the code examples change since this article was published?

Seems like.. 

.primaryColor{  

}  

.articleImage{  

}

define structure/are named in a way that makes them reusable.</description>
		<content:encoded><![CDATA[<p>All this complaining about descriptive named classes, did the code examples change since this article was published?</p>
<p>Seems like.. </p>
<p>.primaryColor{  </p>
<p>}  </p>
<p>.articleImage{  </p>
<p>}</p>
<p>define structure/are named in a way that makes them reusable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Susan Litton</title>
		<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/#comment-64919</link>
		<dc:creator>Susan Litton</dc:creator>
		<pubDate>Sat, 16 May 2009 06:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=329#comment-64919</guid>
		<description>I found this tip to be very helpful. I understand the ideas behind the notion that classes should be named to reflect content instead of styles. However, I&#039;m working on a very large site and I keep forgetting the hex codes of my primary and secondary colors. I write them on scraps of paper on my desk but I can never find them when I need them. Creating .primaryColor and .secondaryColor classes could be helpful.</description>
		<content:encoded><![CDATA[<p>I found this tip to be very helpful. I understand the ideas behind the notion that classes should be named to reflect content instead of styles. However, I&#8217;m working on a very large site and I keep forgetting the hex codes of my primary and secondary colors. I write them on scraps of paper on my desk but I can never find them when I need them. Creating .primaryColor and .secondaryColor classes could be helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/#comment-38851</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Sat, 28 Feb 2009 16:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=329#comment-38851</guid>
		<description>@Dino - its not actually a typo but a bug in the presentation widget used to present the code sample. i&#039;ve seen this before on other blog articles.</description>
		<content:encoded><![CDATA[<p>@Dino &#8211; its not actually a typo but a bug in the presentation widget used to present the code sample. i&#8217;ve seen this before on other blog articles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ethan</title>
		<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/#comment-36068</link>
		<dc:creator>Ethan</dc:creator>
		<pubDate>Mon, 16 Feb 2009 11:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=329#comment-36068</guid>
		<description>I&#039;m strange in the way I switch classes and ida.</description>
		<content:encoded><![CDATA[<p>I&#8217;m strange in the way I switch classes and ida.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sean steezy</title>
		<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/#comment-34879</link>
		<dc:creator>sean steezy</dc:creator>
		<pubDate>Mon, 09 Feb 2009 19:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=329#comment-34879</guid>
		<description>I tried doing it this way for a website once... it was a nightmare. My inheritance sucked and I had multiple style overwriting eachother... I need to get schooled on hierarchy and inheritance.</description>
		<content:encoded><![CDATA[<p>I tried doing it this way for a website once&#8230; it was a nightmare. My inheritance sucked and I had multiple style overwriting eachother&#8230; I need to get schooled on hierarchy and inheritance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srawetek</title>
		<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/#comment-12783</link>
		<dc:creator>srawetek</dc:creator>
		<pubDate>Tue, 30 Sep 2008 03:52:42 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=329#comment-12783</guid>
		<description>very,very goodtip.</description>
		<content:encoded><![CDATA[<p>very,very goodtip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ellis</title>
		<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/#comment-10095</link>
		<dc:creator>Dave Ellis</dc:creator>
		<pubDate>Fri, 05 Sep 2008 14:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=329#comment-10095</guid>
		<description>This is really useful and something that I need to work on implementing more into my sites. I think a lot of being able to write your css out like this comes down to planning.</description>
		<content:encoded><![CDATA[<p>This is really useful and something that I need to work on implementing more into my sites. I think a lot of being able to write your css out like this comes down to planning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jatin Meshiya</title>
		<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/#comment-9480</link>
		<dc:creator>Jatin Meshiya</dc:creator>
		<pubDate>Tue, 02 Sep 2008 06:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=329#comment-9480</guid>
		<description>I am Yahoo Store Developer, and I always use the CSS classes that repeat again and again. in fact if you have ever find e-Commerce layout has category page, product listing pages, home page with future products and many more... such as new arrivals in left navigation, highest rated product in right navigation etc has same block layout. In these cases we are using the same style. My mean to say one  same class.

We also maintain hierarchy in CSS. It is really very good practice in e-Commerce layout. One more thing I want to tell you that if possible then use the name that indicate the proper place that they will be apply.</description>
		<content:encoded><![CDATA[<p>I am Yahoo Store Developer, and I always use the CSS classes that repeat again and again. in fact if you have ever find e-Commerce layout has category page, product listing pages, home page with future products and many more&#8230; such as new arrivals in left navigation, highest rated product in right navigation etc has same block layout. In these cases we are using the same style. My mean to say one  same class.</p>
<p>We also maintain hierarchy in CSS. It is really very good practice in e-Commerce layout. One more thing I want to tell you that if possible then use the name that indicate the proper place that they will be apply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/#comment-9374</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 01 Sep 2008 11:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=329#comment-9374</guid>
		<description>This article leaves something to be desired, but it&#039;s a great idea.

You&#039;re using named elements, rather and descriptive elements.

What css is trying to emulate is something called a polymorphic function, or polymorphism.  Code should be written without a specific type, so that you can re-use that code down the road on all kinds of things you may not have originally intended.  So, for example, instead of calling your image callouts .articleImage, consider something like .decoratorstyle1.  There are a ton of naming conventions, and that&#039;s NOT THE POINT of this.  If you use abstraction, you can re-use your base classes outside of their intended name space and object space, and dramatically reduce the amount of css required, especially on complex or multi-layout sites.  Remember, a subclass should only have to capture the delta of the change from the parent class, which really eliminates a lot of code.

See this article on the subject:
http://www.simplebits.com/notebook/2003/04/15/css_inheritance.html</description>
		<content:encoded><![CDATA[<p>This article leaves something to be desired, but it&#8217;s a great idea.</p>
<p>You&#8217;re using named elements, rather and descriptive elements.</p>
<p>What css is trying to emulate is something called a polymorphic function, or polymorphism.  Code should be written without a specific type, so that you can re-use that code down the road on all kinds of things you may not have originally intended.  So, for example, instead of calling your image callouts .articleImage, consider something like .decoratorstyle1.  There are a ton of naming conventions, and that&#8217;s NOT THE POINT of this.  If you use abstraction, you can re-use your base classes outside of their intended name space and object space, and dramatically reduce the amount of css required, especially on complex or multi-layout sites.  Remember, a subclass should only have to capture the delta of the change from the parent class, which really eliminates a lot of code.</p>
<p>See this article on the subject:<br />
<a href="http://www.simplebits.com/notebook/2003/04/15/css_inheritance.html" rel="nofollow">http://www.simplebits.com/notebook/2003/04/15/css_inheritance.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harem</title>
		<link>http://net.tutsplus.com/tutorials/html-css-techniques/evening-tip-save-time-by-using-multiple-classes/#comment-9177</link>
		<dc:creator>harem</dc:creator>
		<pubDate>Sat, 30 Aug 2008 02:25:36 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=329#comment-9177</guid>
		<description>hi Insic!</description>
		<content:encoded><![CDATA[<p>hi Insic!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!--
This site's performance optimized by W3 Total Cache:

W3 Total Cache improves the user experience of your blog by caching
frequent operations, reducing the weight of various files and providing
transparent content delivery network integration.

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 2/7 queries in 0.007 seconds using memcached
Content Delivery Network via 

Served from: psdtutsplus.com @ 2009-11-21 11:24:42 -->