<?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: On CSS in Flex</title>
	<atom:link href="http://blog.iconara.net/2007/05/08/on-css-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.iconara.net/2007/05/08/on-css-in-flex/</link>
	<description></description>
	<lastBuildDate>Tue, 20 Jul 2010 14:27:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jakub Pawlowicz</title>
		<link>http://blog.iconara.net/2007/05/08/on-css-in-flex/comment-page-1/#comment-7623</link>
		<dc:creator>Jakub Pawlowicz</dc:creator>
		<pubDate>Thu, 23 Oct 2008 14:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/05/08/on-css-in-flex/#comment-7623</guid>
		<description>&lt;p&gt;Hi Theo,&lt;/p&gt;

&lt;p&gt;Sorry for misunderstanding. In case of Flex by content I meant layout + data logic - since I do Ajax development most of the time it was the first word that came to my mind.&lt;/p&gt;

&lt;p&gt;I think that Adobe misused the name CSS while developing Flex as it is not the same as W3C CSS. Maybe the syntax is the same, but as Flex delivers clear layout / data separation model then layout can be mixed with external stylesheets or developed as a MXML file only (effectively reducing the modularity).&lt;/p&gt;

&lt;p&gt;As you guessed I don&#039;t use Flex CSS for layout, but for styling only.&lt;/p&gt;

&lt;p&gt;I think of layout every time I need to &quot;lay out&quot; or position a panel (properties like position, width, height, and margins). Paddings are styling since these should not affect layout. Everything else like skinning, font and text styling, borders, etc I consider styling too.
What about you?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Theo,</p>

<p>Sorry for misunderstanding. In case of Flex by content I meant layout + data logic &#8211; since I do Ajax development most of the time it was the first word that came to my mind.</p>

<p>I think that Adobe misused the name CSS while developing Flex as it is not the same as W3C CSS. Maybe the syntax is the same, but as Flex delivers clear layout / data separation model then layout can be mixed with external stylesheets or developed as a MXML file only (effectively reducing the modularity).</p>

<p>As you guessed I don&#8217;t use Flex CSS for layout, but for styling only.</p>

<p>I think of layout every time I need to &#8220;lay out&#8221; or position a panel (properties like position, width, height, and margins). Paddings are styling since these should not affect layout. Everything else like skinning, font and text styling, borders, etc I consider styling too.
What about you?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2007/05/08/on-css-in-flex/comment-page-1/#comment-7621</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Mon, 20 Oct 2008 13:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/05/08/on-css-in-flex/#comment-7621</guid>
		<description>&lt;p&gt;@Jakub&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;effectively for everything which is not content&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;But what does this mean in terms of a Flex application? What is &quot;content&quot;?&lt;/p&gt;

&lt;p&gt;To me, content is something I keep in a database and load when it is needed -- it is completely separated from the styling as it is. (This differs from the HTML situation when you deliver content along with the tags that describe it.) In the case of a Flex application I don&#039;t think content is something that we need to worry about keeping separate, because application logic, layout, styling (however it is done) is separated from the content by necessity.&lt;/p&gt;

&lt;p&gt;Perhaps you include application logic and layout in the term &quot;content&quot;, that&#039;s more what I&#039;m getting at (or got at, I wrote the post quite a while ago) -- so how do you handle that? Do you use CSS for layout (I assume not since it&#039;s not very straightforward to do in Flex)? If you don&#039;t how do you decide what is styling and what is layout?&lt;/p&gt;

&lt;p&gt;If a panel is supposed to be 200px wide, is that style or layout? If you want 5px padding on a container, is that style? Is it always style? Could it be that in some situations padding is style and in other situations it is not? (I would say yes, but defining in which situations is harder)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Jakub</p>

<p><em>&#8220;effectively for everything which is not content&#8221;</em></p>

<p>But what does this mean in terms of a Flex application? What is &#8220;content&#8221;?</p>

<p>To me, content is something I keep in a database and load when it is needed &#8212; it is completely separated from the styling as it is. (This differs from the HTML situation when you deliver content along with the tags that describe it.) In the case of a Flex application I don&#8217;t think content is something that we need to worry about keeping separate, because application logic, layout, styling (however it is done) is separated from the content by necessity.</p>

<p>Perhaps you include application logic and layout in the term &#8220;content&#8221;, that&#8217;s more what I&#8217;m getting at (or got at, I wrote the post quite a while ago) &#8212; so how do you handle that? Do you use CSS for layout (I assume not since it&#8217;s not very straightforward to do in Flex)? If you don&#8217;t how do you decide what is styling and what is layout?</p>

<p>If a panel is supposed to be 200px wide, is that style or layout? If you want 5px padding on a container, is that style? Is it always style? Could it be that in some situations padding is style and in other situations it is not? (I would say yes, but defining in which situations is harder)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jakub Pawlowicz</title>
		<link>http://blog.iconara.net/2007/05/08/on-css-in-flex/comment-page-1/#comment-7620</link>
		<dc:creator>Jakub Pawlowicz</dc:creator>
		<pubDate>Mon, 20 Oct 2008 12:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/05/08/on-css-in-flex/#comment-7620</guid>
		<description>&lt;p&gt;Thanks for your post Theo.&lt;/p&gt;

&lt;p&gt;Unfortunately Flex CSS implementation is a very basic one effectively missing the Cascading part. It is hard to understand as we (I mean web developers) are used to it and miss a more robust implementation much.&lt;/p&gt;

&lt;p&gt;And answering to your question I use CSS for content/styling separation - effectively for everything which is not content.&lt;/p&gt;

&lt;p&gt;I wish for more advanced CSS support to ease development and prevent writing custom programmatic skins. I hope we&#039;ll see it one day.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for your post Theo.</p>

<p>Unfortunately Flex CSS implementation is a very basic one effectively missing the Cascading part. It is hard to understand as we (I mean web developers) are used to it and miss a more robust implementation much.</p>

<p>And answering to your question I use CSS for content/styling separation &#8211; effectively for everything which is not content.</p>

<p>I wish for more advanced CSS support to ease development and prevent writing custom programmatic skins. I hope we&#8217;ll see it one day.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2007/05/08/on-css-in-flex/comment-page-1/#comment-3902</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Wed, 09 May 2007 11:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/05/08/on-css-in-flex/#comment-3902</guid>
		<description>&lt;p&gt;Thanks! It&#039;s a good point that a non-developer (be it a designer or machine) can work with the CSS as a standalone file.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks! It&#8217;s a good point that a non-developer (be it a designer or machine) can work with the CSS as a standalone file.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: JabbyPanda</title>
		<link>http://blog.iconara.net/2007/05/08/on-css-in-flex/comment-page-1/#comment-3900</link>
		<dc:creator>JabbyPanda</dc:creator>
		<pubDate>Wed, 09 May 2007 11:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2007/05/08/on-css-in-flex/#comment-3900</guid>
		<description>&lt;p&gt;What I like about external CSS files:&lt;/p&gt;

&lt;p&gt;a) CSS file is a separate text file, not embbeded neither in MXML nor AS file;&lt;/p&gt;

&lt;p&gt;b) can be generated by designer using Flex 2 Style Explorer;&lt;/p&gt;

&lt;p&gt;c) common way for a designer coming from HTML world to apply custom design to the application;&lt;/p&gt;

&lt;p&gt;I must admit, in Flex 2 SDK framework there is certain overlap between properties and styles. Certain things in layouting can be done either in CSS styles or by setting  ActionScript properties.&lt;/p&gt;

&lt;p&gt;We tend to first try CSS style, and if this does not work for us, we go with ActionScript object&#039;s property&lt;/p&gt;

&lt;p&gt;Say, Flash Player 9 does not support CSS style:
text-decoration: line-through
http://dwarfurl.com/06a1a&lt;/p&gt;

&lt;p&gt;WTF, like you like to say : )&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What I like about external CSS files:</p>

<p>a) CSS file is a separate text file, not embbeded neither in MXML nor AS file;</p>

<p>b) can be generated by designer using Flex 2 Style Explorer;</p>

<p>c) common way for a designer coming from HTML world to apply custom design to the application;</p>

<p>I must admit, in Flex 2 SDK framework there is certain overlap between properties and styles. Certain things in layouting can be done either in CSS styles or by setting  ActionScript properties.</p>

<p>We tend to first try CSS style, and if this does not work for us, we go with ActionScript object&#8217;s property</p>

<p>Say, Flash Player 9 does not support CSS style:
text-decoration: line-through
<a href="http://dwarfurl.com/06a1a" rel="nofollow">http://dwarfurl.com/06a1a</a></p>

<p>WTF, like you like to say : )</p>]]></content:encoded>
	</item>
</channel>
</rss>
