<?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: Modularised stuff &#8211; where to draw the line?</title>
	<atom:link href="http://www.markboulton.co.uk/journal/comments/modularised-stuff-where-to-draw-the-line/feed" rel="self" type="application/rss+xml" />
	<link>http://www.markboulton.co.uk/journal/comments/modularised-stuff-where-to-draw-the-line?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=modularised-stuff-where-to-draw-the-line</link>
	<description>The Personal Disquiet of Mark Boulton</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:39:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Terrence Wood</title>
		<link>http://www.markboulton.co.uk/journal/comments/modularised-stuff-where-to-draw-the-line#comment-612</link>
		<dc:creator>Terrence Wood</dc:creator>
		<pubDate>Sun, 26 Jun 2005 08:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.markboultondesignhosting.com/2005/06/modularised-stuff-where-to-draw-the-line/#comment-612</guid>
		<description>&lt;p&gt;I&#8217;ve experimented with multiple methods over the years for organising CSS, and the conclusion that I&#8217;ve come to is that I like to send the smallest amount of data with the least number of trips to the server&#8230;
&lt;/p&gt;
&lt;p&gt;
So, I organise my CSS by roughly following the HTML source, or functional grouping (header, content, nav,footer). I try and fit it all into one file, and use the cascade as much as possible&#8212;minimizing classitis and iditis. Occasionally, I use page specific CSS in the documenthead, but if it&#8217;s needed in more than a couple of pages it goes in the CSS file.
&lt;/p&gt;
&lt;p&gt;

I develop in the most standards compliant browser available, and put any hacks, if needed, at the end of the file as I build up support for not-so-compliant browsers.
&lt;/p&gt;
&lt;p&gt;
Usually I only need the &lt;code&gt;* html&lt;/code&gt; hack, and a comment hack for IE5/Mac. If I have more than a couple of IE specific rules, or I&#8217;m using expressions then I&#8217;ll use conditional comments.
&lt;/p&gt;
&lt;p&gt;
I comment my working files and compress anything sent to a browser.
&lt;/p&gt;
&lt;p&gt;
For me it comes down to how best deliver data quickly, and so I&#8217;ll adjust my method&#8217;s depending on the requirements of the project.

&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve experimented with multiple methods over the years for organising CSS, and the conclusion that I&#8217;ve come to is that I like to send the smallest amount of data with the least number of trips to the server&#8230;
</p>
<p>
So, I organise my CSS by roughly following the HTML source, or functional grouping (header, content, nav,footer). I try and fit it all into one file, and use the cascade as much as possible&#8212;minimizing classitis and iditis. Occasionally, I use page specific CSS in the documenthead, but if it&#8217;s needed in more than a couple of pages it goes in the CSS file.
</p>
<p>I develop in the most standards compliant browser available, and put any hacks, if needed, at the end of the file as I build up support for not-so-compliant browsers.
</p>
<p>
Usually I only need the <code>* html</code> hack, and a comment hack for IE5/Mac. If I have more than a couple of IE specific rules, or I&#8217;m using expressions then I&#8217;ll use conditional comments.
</p>
<p>
I comment my working files and compress anything sent to a browser.
</p>
<p>
For me it comes down to how best deliver data quickly, and so I&#8217;ll adjust my method&#8217;s depending on the requirements of the project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pio Rasch-Halvorsen</title>
		<link>http://www.markboulton.co.uk/journal/comments/modularised-stuff-where-to-draw-the-line#comment-614</link>
		<dc:creator>Pio Rasch-Halvorsen</dc:creator>
		<pubDate>Fri, 24 Jun 2005 06:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.markboultondesignhosting.com/2005/06/modularised-stuff-where-to-draw-the-line/#comment-614</guid>
		<description>&lt;p&gt;&lt;strong&gt;Gerard McGarry:&lt;/strong&gt; When specifying media types in CSS, you should let the &#8220;screen&#8221; stylesheet apply to the &#8220;projection&#8221; media as well or the page will be unstyled in Opera&#8217;s fullscreen mode. Unless you have a separate &#8220;projection&#8221; style, that is.

&lt;/p&gt;
&lt;p&gt;
To get back on topic; I tend to use flagged CSS for my projects. However I&#8217;m usually working on small-scale, personal projects with relatively few styled entities.
&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p><strong>Gerard McGarry:</strong> When specifying media types in CSS, you should let the &#8220;screen&#8221; stylesheet apply to the &#8220;projection&#8221; media as well or the page will be unstyled in Opera&#8217;s fullscreen mode. Unless you have a separate &#8220;projection&#8221; style, that is.</p>
<p>
To get back on topic; I tend to use flagged CSS for my projects. However I&#8217;m usually working on small-scale, personal projects with relatively few styled entities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerard McGarry</title>
		<link>http://www.markboulton.co.uk/journal/comments/modularised-stuff-where-to-draw-the-line#comment-613</link>
		<dc:creator>Gerard McGarry</dc:creator>
		<pubDate>Tue, 21 Jun 2005 04:57:47 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.markboultondesignhosting.com/2005/06/modularised-stuff-where-to-draw-the-line/#comment-613</guid>
		<description>&lt;p&gt;I tend to work my stylesheets toward the two main media types (screen and print) - I&#8217;m not sure how advisable that is, but it helps me keep track of things fairly well.
&lt;/p&gt;

&lt;p&gt;
I tend to develop the screen stylesheet first, until I have everything looking as needed. Then I revise the design for a print style, removing the navigation and any superflous features that are likely to waste paper of affect legibility.
&lt;/p&gt;
&lt;p&gt;
I&#8217;d be more inclined to use flags/comments within the CSS for easier navigation.
&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I tend to work my stylesheets toward the two main media types (screen and print) &#8211; I&#8217;m not sure how advisable that is, but it helps me keep track of things fairly well.
</p>
<p>
I tend to develop the screen stylesheet first, until I have everything looking as needed. Then I revise the design for a print style, removing the navigation and any superflous features that are likely to waste paper of affect legibility.
</p>
<p>
I&#8217;d be more inclined to use flags/comments within the CSS for easier navigation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Boulton</title>
		<link>http://www.markboulton.co.uk/journal/comments/modularised-stuff-where-to-draw-the-line#comment-615</link>
		<dc:creator>Mark Boulton</dc:creator>
		<pubDate>Fri, 03 Jun 2005 03:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.markboultondesignhosting.com/2005/06/modularised-stuff-where-to-draw-the-line/#comment-615</guid>
		<description>&lt;p&gt;&lt;strong&gt;Urban&lt;/strong&gt; - I&#8217;ll refer you to the &#8216;Allowed tags&#8217; note at the side of the comment field. Lists aren&#8217;t allowed and the html gets stripped.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Allan&lt;/strong&gt; - There are several backend&#8217;s, from EE to totally bespoke.
&lt;/p&gt;

&lt;p&gt;
Your method of CSS files is pretty much how I&#8217;ve done it in the past, including on this site, I have a &#8216;screen.css&#8217; which imports all the others. The problem then comes with maintenance and visibility if the team editing it is more than one person.
&lt;/p&gt;
&lt;p&gt;
What I&#8217;m getting at is at what point does modularisation increase, rather than decrease, ongoing support? As in, somebody has to search through several files, then change them, then remember which one&#8217;s they were (and in what place) to upload them&#8230;
&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p><strong>Urban</strong> &#8211; I&#8217;ll refer you to the &#8216;Allowed tags&#8217; note at the side of the comment field. Lists aren&#8217;t allowed and the html gets stripped.
</p>
<p>
<strong>Allan</strong> &#8211; There are several backend&#8217;s, from EE to totally bespoke.
</p>
<p>
Your method of CSS files is pretty much how I&#8217;ve done it in the past, including on this site, I have a &#8216;screen.css&#8217; which imports all the others. The problem then comes with maintenance and visibility if the team editing it is more than one person.
</p>
<p>
What I&#8217;m getting at is at what point does modularisation increase, rather than decrease, ongoing support? As in, somebody has to search through several files, then change them, then remember which one&#8217;s they were (and in what place) to upload them&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan White</title>
		<link>http://www.markboulton.co.uk/journal/comments/modularised-stuff-where-to-draw-the-line#comment-617</link>
		<dc:creator>Allan White</dc:creator>
		<pubDate>Fri, 03 Jun 2005 03:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.markboultondesignhosting.com/2005/06/modularised-stuff-where-to-draw-the-line/#comment-617</guid>
		<description>&lt;p&gt;What kind of backend are you thinking? Are you looking at Expression Engine for client projects? I wrestle with this all the time with EE templating (using &#123;embed&#125;). EE doesn&#8217;t (at present) make it really easy to pass variables to nested templates, so it&#8217;s mostly hacking at this point.
&lt;/p&gt;
&lt;p&gt;
I&#8217;m with you on the &#8220;level of granularity&#8221; thing. I try to get the big chunks (low-hanging fruit) in separate CSS files, and then put page-specific stuff on individual pages. I like having one &#8216;global.css&#8217; that @imports the others (fonts.css, positioning.css, etc.). It really depends, for me, how similar the templates are as you go into the site.

&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>What kind of backend are you thinking? Are you looking at Expression Engine for client projects? I wrestle with this all the time with EE templating (using &#123;embed&#125;). EE doesn&#8217;t (at present) make it really easy to pass variables to nested templates, so it&#8217;s mostly hacking at this point.
</p>
<p>
I&#8217;m with you on the &#8220;level of granularity&#8221; thing. I try to get the big chunks (low-hanging fruit) in separate CSS files, and then put page-specific stuff on individual pages. I like having one &#8216;global.css&#8217; that @imports the others (fonts.css, positioning.css, etc.). It really depends, for me, how similar the templates are as you go into the site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Urban Faubion</title>
		<link>http://www.markboulton.co.uk/journal/comments/modularised-stuff-where-to-draw-the-line#comment-616</link>
		<dc:creator>Urban Faubion</dc:creator>
		<pubDate>Fri, 03 Jun 2005 03:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.markboultondesignhosting.com/2005/06/modularised-stuff-where-to-draw-the-line/#comment-616</guid>
		<description>&lt;p&gt;Note: &#8220;Live Preview&#8221; doesn&#8217;t match the end result when you publishing comments. # was intended to be an ordered list.

&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Note: &#8220;Live Preview&#8221; doesn&#8217;t match the end result when you publishing comments. # was intended to be an ordered list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Urban Faubion</title>
		<link>http://www.markboulton.co.uk/journal/comments/modularised-stuff-where-to-draw-the-line#comment-618</link>
		<dc:creator>Urban Faubion</dc:creator>
		<pubDate>Fri, 03 Jun 2005 03:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.markboultondesignhosting.com/2005/06/modularised-stuff-where-to-draw-the-line/#comment-618</guid>
		<description>&lt;p&gt;I tend to break down a sites into a series of includes that my content pages call.&#160; These are global elements in my design (header, navigation, footer, etc) that will stay consistent for branding purposes.&#160; My CSS files tend to mirror this structure and I add additional CSS files for page specific content when needed.&lt;blockquote&gt;&lt;p&gt;
# base.css
&lt;br /&gt;

# global.css
&lt;br /&gt;
# structure.css
&lt;br /&gt;
# &lt;em&gt;page specific css&lt;/em&gt;
&lt;br /&gt;
# header.css
&lt;br /&gt;
# navigation.css
&lt;br /&gt;
# footer.css
&lt;br /&gt;
&lt;/p&gt;&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>I tend to break down a sites into a series of includes that my content pages call.&nbsp; These are global elements in my design (header, navigation, footer, etc) that will stay consistent for branding purposes.&nbsp; My CSS files tend to mirror this structure and I add additional CSS files for page specific content when needed.<br />
<blockquote>
<p>
# base.css<br />
</p>
<p># global.css<br />
<br />
# structure.css<br />
<br />
# <em>page specific css</em><br />
<br />
# header.css<br />
<br />
# navigation.css<br />
<br />
# footer.css<br />

</p>
</blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: JohnO</title>
		<link>http://www.markboulton.co.uk/journal/comments/modularised-stuff-where-to-draw-the-line#comment-619</link>
		<dc:creator>JohnO</dc:creator>
		<pubDate>Fri, 03 Jun 2005 02:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.markboultondesignhosting.com/2005/06/modularised-stuff-where-to-draw-the-line/#comment-619</guid>
		<description>&lt;p&gt;&#8217;practical&#8217; btw..
&lt;/p&gt;
&lt;p&gt;
I&#8217;ve modularised in my web-applications thusly:
&lt;/p&gt;
&lt;p&gt;
1. Index CSS file &#040;global properties common for all elements&#041;
&lt;/p&gt;
&lt;p&gt;
2. page level CSS files (where layout might differ, or content mandates changing padding/margins)

&lt;/p&gt;
&lt;p&gt;
3. inline styles on certain pages where I want an exception (overriding a global property) (no reason they are inline really.. they could very well be in the page level CSS)
&lt;/p&gt;
&lt;p&gt;
I have one exception, in that I had one module of code for Validating form fields, and I&#8217;ve seperated the CSS for that.(required label colors, and various and sundry things)....
&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>&#8217;practical&#8217; btw..
</p>
<p>
I&#8217;ve modularised in my web-applications thusly:
</p>
<p>
1. Index CSS file &#40;global properties common for all elements&#41;
</p>
<p>
2. page level CSS files (where layout might differ, or content mandates changing padding/margins)</p>
<p>
3. inline styles on certain pages where I want an exception (overriding a global property) (no reason they are inline really.. they could very well be in the page level CSS)
</p>
<p>
I have one exception, in that I had one module of code for Validating form fields, and I&#8217;ve seperated the CSS for that.(required label colors, and various and sundry things)&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

