Flex 4 (Gumbo) and states

Surfing on web I read Ted’s blog that talk about new feature of Flex 4 (codename Gumbo) about states!
So I take a look at opensource.adobe.com page that talks about this new feature… very cool!

Adobe creates a very simple way to add, remove, show and hide components in a Flex application with a new attributes: includeIn and excludeFrom.

In few code rows you can include or remove Flex components:

<!-- Given the states A,B,C -->
<m:states>
    <m:State name="A"/>
    <m:State name="B"/>
    <m:State name="C"/>
</m:states>

<!-- This button will appear in only states A and B -->
<Button label="Click Me" includeIn="A, B"/>

<!-- This button will appear in states A and B --> 
<Button label="Button C" excludeFrom="C"/>

If you have a couple of minutes, please read about Flex 4 states, it’s so interesting!

 

Very cool way to do this! I think that Flex 4 will become the BEST solution to make RIA and desktop application (with AIR obviusly) in IT market!

Published by

luca mezzalira

Being associated with the industry since 2004, I have lent my expertise predominantly in the solution architecture field. I have gained accolades for revolutionising the scalability of frontend architectures with micro-frontends, from increasing the efficiency of workflows, to delivering quality in products. My colleagues know me as an excellent communicator who believes in using an interactive approach for understanding and solving problems of varied scopes. I helped DAZN becoming a global streaming platform in just 5 years, now as Principal Architect at AWS, I'm helping our customers in the media and entertainment space to deliver cost-effective and scalable cloud solutions. Moreover, I'm sharing with the community the best practices to develop cloud-native architectures solving technical and organizational challenges. My core industry knowledge has been instrumental in resolving complex architectural and integration challenges. Working within the scopes of a plethora of technical roles such as tech lead, solutions architect and CTO, I have developed a precise understanding of various technicalities which has helped me in maximizing value of my company and products in my current leadership roles.

3 thoughts on “Flex 4 (Gumbo) and states”

  1. Hi Luca,

    states represent a subtle but important difference between a website (a collection of pages) and a web application (a collection of states) so I really appreciate that Adobe will give states the opportunity to become something more useful and usable in the nearest future.

    Regards, Alessandro

  2. Yes, I belive this will solve a few problems we face with states in Flex 3.

    I do disagree with you on Flex 4 _will_become_ the BEST solution to make RIA.

    FLEX has _always_ been the BEST!

Leave a Reply to Alessandro Ronchi Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s