<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Flex :: commitProperties(), a components state queue</title>
	<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/</link>
	<description>Components are the building blocks of our Universe, that is why I make them!</description>
	<pubDate>Tue, 06 Jan 2009 07:54:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0</generator>

	<item>
		<title>by: MyoT &#187; Blog Archive &#187; Useful Flex Component Development Guides</title>
		<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-10166</link>
		<pubDate>Tue, 24 Jul 2007 22:55:56 +0000</pubDate>
		<guid>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-10166</guid>
					<description>[...] Mike: http://www.flex2components.com/f2cblog/2007/05/08/flex-commitproperties-a-components-state-queue/ http://www.flex2components.com/f2cblog/2007/06/19/flex-invalidatethis-big-bird/ [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Mike: <a href='http://www.flex2components.com/f2cblog/2007/05/08/flex-commitproperties-a-components-state-queue/' rel='nofollow'>http://www.flex2components.com/f2cblog/2007/05/08/flex-commitproperties-a-components-state-queue/</a> <a href='http://www.flex2components.com/f2cblog/2007/06/19/flex-invalidatethis-big-bird/' rel='nofollow'>http://www.flex2components.com/f2cblog/2007/06/19/flex-invalidatethis-big-bird/</a> [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tony</title>
		<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-9349</link>
		<pubDate>Wed, 27 Jun 2007 18:16:39 +0000</pubDate>
		<guid>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-9349</guid>
					<description>Mike,

Sorry for the double post, but you have to know how you just saved my @$$!

I wrote my last comment only after reading your article.  I applied into real time and ran my application for the first time just seconds ago. WOW!!!!

I think I will be spending the rest of the day rewriting about 2,000 lines of code.

Here was my mistake.... 
I was creating a public property that was bindable in my control.  Binding it to my child controls in multiple places.  I changed it to the process above and nearly fell off my chair.  Not to mention it fixed a couple timing issues that I could not get rid of from my previous process.  Ignorance is not always Bliss.

The kicker is that I was binding to bitmap classes that were being embedded.  Who knows how many times the application reapplied the binding before finishing.

I hope you post the rest of the articles soon, so I can rewrite some more code.

You DA MAN!!!

Regards,
Tony</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>Sorry for the double post, but you have to know how you just saved my @$$!</p>
<p>I wrote my last comment only after reading your article.  I applied into real time and ran my application for the first time just seconds ago. WOW!!!!</p>
<p>I think I will be spending the rest of the day rewriting about 2,000 lines of code.</p>
<p>Here was my mistake&#8230;.<br />
I was creating a public property that was bindable in my control.  Binding it to my child controls in multiple places.  I changed it to the process above and nearly fell off my chair.  Not to mention it fixed a couple timing issues that I could not get rid of from my previous process.  Ignorance is not always Bliss.</p>
<p>The kicker is that I was binding to bitmap classes that were being embedded.  Who knows how many times the application reapplied the binding before finishing.</p>
<p>I hope you post the rest of the articles soon, so I can rewrite some more code.</p>
<p>You DA MAN!!!</p>
<p>Regards,<br />
Tony
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tony</title>
		<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-9348</link>
		<pubDate>Wed, 27 Jun 2007 17:16:11 +0000</pubDate>
		<guid>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-9348</guid>
					<description>I am new to Flex and taking off like wildfire.  I have been concerned about my components performance.

Thank you for helping me realize the errors of my noob ways!

Nice set of code and framework.  I will be considering your components for my applications as they mature.

Thanks again,
Tony</description>
		<content:encoded><![CDATA[<p>I am new to Flex and taking off like wildfire.  I have been concerned about my components performance.</p>
<p>Thank you for helping me realize the errors of my noob ways!</p>
<p>Nice set of code and framework.  I will be considering your components for my applications as they mature.</p>
<p>Thanks again,<br />
Tony
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: jwopitz</title>
		<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-9046</link>
		<pubDate>Tue, 19 Jun 2007 21:13:37 +0000</pubDate>
		<guid>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-9046</guid>
					<description>Hi Mike,

Just started working on a custom and complex item renderer and I started to look back at these article for some guidance.  One thing that I would like to hear you sound off on is some thoughts about the usage of the invalidateSomething methods.

They are all related to their respective calls as such:
invalidateProperties =&amp;#62; commitProperties
invalidateDisplayList =&amp;#62; updateDisplayList
invalidateSize =&amp;#62; measure

I have seen similar approaches in the mx code base for using update flags for the display list.  Can you talk a bit about that as well?

Thanks,
jwopitz</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>Just started working on a custom and complex item renderer and I started to look back at these article for some guidance.  One thing that I would like to hear you sound off on is some thoughts about the usage of the invalidateSomething methods.</p>
<p>They are all related to their respective calls as such:<br />
invalidateProperties =&gt; commitProperties<br />
invalidateDisplayList =&gt; updateDisplayList<br />
invalidateSize =&gt; measure</p>
<p>I have seen similar approaches in the mx code base for using update flags for the display list.  Can you talk a bit about that as well?</p>
<p>Thanks,<br />
jwopitz
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jesse Warden - Flash, Flex, and Component Developer</title>
		<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-8510</link>
		<pubDate>Fri, 08 Jun 2007 02:17:55 +0000</pubDate>
		<guid>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-8510</guid>
					<description>&lt;strong&gt;E4X XML Binding &amp;#38; CDATA...&lt;/strong&gt;

The benefit with using international standards when creating software is that you can blame to stupid design decisions on &quot;an international team of brilliant computer scientists. That way, if someone tries to body-check you on the pathetic implementat...</description>
		<content:encoded><![CDATA[<p><strong>E4X XML Binding &#38; CDATA&#8230;</strong></p>
<p>The benefit with using international standards when creating software is that you can blame to stupid design decisions on &#8220;an international team of brilliant computer scientists. That way, if someone tries to body-check you on the pathetic implementat&#8230;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: teoti.graphix</title>
		<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-8485</link>
		<pubDate>Thu, 07 Jun 2007 15:14:13 +0000</pubDate>
		<guid>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-8485</guid>
					<description>Hi,

I have been busy in the laboratory. Sometimes it seems like posting blog posts is harder than it actually is. If you have seen some of my components, you will understand my time is limited.

Not to mention I just finished up converting DocumentFX to apollo. That application has about 200 classes so it was a bit time consuming. I did manager to get it creating UML diagrams of class frameworks in the Flex UI. :) I still havn't decided what I am going to do with it. Would be fun to release but, for now I am just using it for my own component development docs.

Ha, maybe there are others waiting to. I will see about getting some more up.

Peace, Mike</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have been busy in the laboratory. Sometimes it seems like posting blog posts is harder than it actually is. If you have seen some of my components, you will understand my time is limited.</p>
<p>Not to mention I just finished up converting DocumentFX to apollo. That application has about 200 classes so it was a bit time consuming. I did manager to get it creating UML diagrams of class frameworks in the Flex UI. <img src='http://www.blog.teotigraphix.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I still havn&#8217;t decided what I am going to do with it. Would be fun to release but, for now I am just using it for my own component development docs.</p>
<p>Ha, maybe there are others waiting to. I will see about getting some more up.</p>
<p>Peace, Mike
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: jwopitz</title>
		<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-8483</link>
		<pubDate>Thu, 07 Jun 2007 14:59:45 +0000</pubDate>
		<guid>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-8483</guid>
					<description>Hey Mike,

I know you are probably busy, but I thought I would let you know:

I AM EAGERLY AWAITING YOUR NEXT POST IN THIS SERIES!!!!

I haven't been able to gather the time (nor willpower) to get back at component development or blogging.

Anywho...thanks for the great article.

jwopitz</description>
		<content:encoded><![CDATA[<p>Hey Mike,</p>
<p>I know you are probably busy, but I thought I would let you know:</p>
<p>I AM EAGERLY AWAITING YOUR NEXT POST IN THIS SERIES!!!!</p>
<p>I haven&#8217;t been able to gather the time (nor willpower) to get back at component development or blogging.</p>
<p>Anywho&#8230;thanks for the great article.</p>
<p>jwopitz
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: teoti.graphix</title>
		<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-7992</link>
		<pubDate>Thu, 10 May 2007 21:42:18 +0000</pubDate>
		<guid>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-7992</guid>
					<description>yeah,

Actually when I posted it in retrospect I thought of exactly what you are talking about. I need to find another word for 'state'. Something like 'current property algorithm'. :)

I have a bunch of other things outlined that follow the same lines as these.

commitProperties() is a very powerful and underrated method in the template patter of the flex framework.

Adobe tends to actually code implementation into the commitProperties() methods. I don't do that anymore because it tighlty couples the subclasses and you run into people complaining about private methods, properties and even plain ole rewritting the superclass method just to call something a little bit different.

Mike</description>
		<content:encoded><![CDATA[<p>yeah,</p>
<p>Actually when I posted it in retrospect I thought of exactly what you are talking about. I need to find another word for &#8217;state&#8217;. Something like &#8216;current property algorithm&#8217;. <img src='http://www.blog.teotigraphix.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I have a bunch of other things outlined that follow the same lines as these.</p>
<p>commitProperties() is a very powerful and underrated method in the template patter of the flex framework.</p>
<p>Adobe tends to actually code implementation into the commitProperties() methods. I don&#8217;t do that anymore because it tighlty couples the subclasses and you run into people complaining about private methods, properties and even plain ole rewritting the superclass method just to call something a little bit different.</p>
<p>Mike
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: jwopitz</title>
		<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-7990</link>
		<pubDate>Thu, 10 May 2007 18:30:30 +0000</pubDate>
		<guid>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-7990</guid>
					<description>Great post Mike!  

I have noticed this approach used in some of the native Flex components but never really saw the value of the state change flags until reading this.  Very insightful.  

One recommendation I would make on this post and subsequent posts is to be very clear when using the word 'state'.  In this case, you are using it as a synonym for var or property, which is fine for guys who have been doing this for some time.  But some newcomers might get confused as the word state also relates with the UIComponent.currentState and mx:State objects. 

Thanks for the great read.
jwopitz</description>
		<content:encoded><![CDATA[<p>Great post Mike!  </p>
<p>I have noticed this approach used in some of the native Flex components but never really saw the value of the state change flags until reading this.  Very insightful.  </p>
<p>One recommendation I would make on this post and subsequent posts is to be very clear when using the word &#8217;state&#8217;.  In this case, you are using it as a synonym for var or property, which is fine for guys who have been doing this for some time.  But some newcomers might get confused as the word state also relates with the UIComponent.currentState and mx:State objects. </p>
<p>Thanks for the great read.<br />
jwopitz
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: JabbyPanda</title>
		<link>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-7967</link>
		<pubDate>Tue, 08 May 2007 19:48:49 +0000</pubDate>
		<guid>http://www.blog.teotigraphix.com/2007/05/08/flex-commitproperties-a-components-state-queue/#comment-7967</guid>
					<description>Good start, Mike!

Continue to unveil the rules of building solid custom Flex 2 components with a rest of the world and the rest of the world will greatly benefit.

We were luckily to read carefully Ely Greenfield's preso at the beginning of 2007: http://www.flex.org/ACDS/BuildingAFlexComponent.pdf</description>
		<content:encoded><![CDATA[<p>Good start, Mike!</p>
<p>Continue to unveil the rules of building solid custom Flex 2 components with a rest of the world and the rest of the world will greatly benefit.</p>
<p>We were luckily to read carefully Ely Greenfield&#8217;s preso at the beginning of 2007: <a href='http://www.flex.org/ACDS/BuildingAFlexComponent.pdf' rel='nofollow'>http://www.flex.org/ACDS/BuildingAFlexComponent.pdf</a>
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
