<?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: Flex 3 vs Flex 4 State Management</title>
	<atom:link href="http://blog.everythingflex.com/2009/05/12/flex-3-vs-flex-4-state-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.everythingflex.com/2009/05/12/flex-3-vs-flex-4-state-management/</link>
	<description>News and Information about Adobe Flex &#38; Adobe AIR by Rich Tretola</description>
	<lastBuildDate>Wed, 28 Dec 2011 05:30:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: sam</title>
		<link>http://blog.everythingflex.com/2009/05/12/flex-3-vs-flex-4-state-management/comment-page-1/#comment-90788</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Tue, 22 Feb 2011 21:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.everythingflex.com/?p=1071#comment-90788</guid>
		<description>But... how do you set the current state and how to change it? Such a crucial detail and I can&#039;t seem to find it...</description>
		<content:encoded><![CDATA[<p>But&#8230; how do you set the current state and how to change it? Such a crucial detail and I can&#8217;t seem to find it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Designer Handbags</title>
		<link>http://blog.everythingflex.com/2009/05/12/flex-3-vs-flex-4-state-management/comment-page-1/#comment-66451</link>
		<dc:creator>Designer Handbags</dc:creator>
		<pubDate>Thu, 01 Jul 2010 08:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.everythingflex.com/?p=1071#comment-66451</guid>
		<description>resolve the an issue in flex 4 where m trying to use states in my module and its giving an error</description>
		<content:encoded><![CDATA[<p>resolve the an issue in flex 4 where m trying to use states in my module and its giving an error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://blog.everythingflex.com/2009/05/12/flex-3-vs-flex-4-state-management/comment-page-1/#comment-65461</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Thu, 10 Jun 2010 18:25:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.everythingflex.com/?p=1071#comment-65461</guid>
		<description>@Matthew,

Even as a purist, I don&#039;t think I agree.  Containers need to have conrol over the visibility, position and other properties of their contained components.  

Either you do this by handling an event of some kind that triggers a handler that changes these properties, or you have this Flex 4 state syntax which is doing the same thing in a more distributed fashion....each property is invisibly bound to a state change event and the property gets updated.  

It may be a little more difficult to trace and group property changes relative to an event, but I would argue the new syntax is a much more intuitive way to match a state to a view (or other non visual property).  

You can always choose to use it only for visual view states if you fear the traceability challenges but for the example cases I&#039;ve seen, it creates much more intuitive code.  One problem I am having is using the syntax with actionscript - don&#039;t think it works there - but I have a couple of uses where it is very helpful and I don&#039;t see the risks you point out.</description>
		<content:encoded><![CDATA[<p>@Matthew,</p>
<p>Even as a purist, I don&#8217;t think I agree.  Containers need to have conrol over the visibility, position and other properties of their contained components.  </p>
<p>Either you do this by handling an event of some kind that triggers a handler that changes these properties, or you have this Flex 4 state syntax which is doing the same thing in a more distributed fashion&#8230;.each property is invisibly bound to a state change event and the property gets updated.  </p>
<p>It may be a little more difficult to trace and group property changes relative to an event, but I would argue the new syntax is a much more intuitive way to match a state to a view (or other non visual property).  </p>
<p>You can always choose to use it only for visual view states if you fear the traceability challenges but for the example cases I&#8217;ve seen, it creates much more intuitive code.  One problem I am having is using the syntax with actionscript &#8211; don&#8217;t think it works there &#8211; but I have a couple of uses where it is very helpful and I don&#8217;t see the risks you point out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: acne clearing</title>
		<link>http://blog.everythingflex.com/2009/05/12/flex-3-vs-flex-4-state-management/comment-page-1/#comment-61917</link>
		<dc:creator>acne clearing</dc:creator>
		<pubDate>Tue, 13 Apr 2010 03:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.everythingflex.com/?p=1071#comment-61917</guid>
		<description>flex3 easier to understand, I support this</description>
		<content:encoded><![CDATA[<p>flex3 easier to understand, I support this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://blog.everythingflex.com/2009/05/12/flex-3-vs-flex-4-state-management/comment-page-1/#comment-61714</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Thu, 08 Apr 2010 19:26:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.everythingflex.com/?p=1071#comment-61714</guid>
		<description>Wow, really?! People actually think this is an improvement?!

Why would it be an improvement for components to have code specific to their host container?? This implementation violates basic software design practices and obfuscates what properties/components change when the state is changed.

Not only that but the components that set properties for a given state (e.g. visible.State1=&quot;true&quot;) will have problems if the component doesn&#039;t dictate the behavior for other states as well...i.e. components will disappear, have their text reset, etc. when they specify properties for one state but do not have a setting for other states. This isn&#039;t just breaking behavior from Flex3 -- it&#039;s bad behavior.</description>
		<content:encoded><![CDATA[<p>Wow, really?! People actually think this is an improvement?!</p>
<p>Why would it be an improvement for components to have code specific to their host container?? This implementation violates basic software design practices and obfuscates what properties/components change when the state is changed.</p>
<p>Not only that but the components that set properties for a given state (e.g. visible.State1=&#8221;true&#8221;) will have problems if the component doesn&#8217;t dictate the behavior for other states as well&#8230;i.e. components will disappear, have their text reset, etc. when they specify properties for one state but do not have a setting for other states. This isn&#8217;t just breaking behavior from Flex3 &#8212; it&#8217;s bad behavior.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

