$text = String.new “World”

print “Hello #{$text}”

Archive for January, 2008

Get FLEXible!

Posted by siegem on January 31, 2008

I loved Flex the first time I saw it’s framework open and the first tags appeared in my screen! It’s increadible how you can manage ActionScript classes with MXML (XML-like user interface language) and extend these classes to create RIAs (Rich Internet Applications) based on Flash that can be built on the fly usign the AJAX Bridge.

You can, using Flex, create applications that access REST and Web Services to retrieve XML information and present it in a Flash like way, with standard components or create your own. It’s simple to use, flexible to customize and powerfull to use.

Enough of my personal impression. I will show a simple Flex application and you take your own conclusions.

There we go! We are using here six MXML tags to create this example, there are: Application, HBox, Tree, VBox, TextArea and XMLList.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:HBox left="40" top="40">
<mx:Tree dataProvider="{TreeData}" labelField="@label" width="200"
height="500" change="output.text = event.currentTarget.selectedItem.@label;"/>
<mx:VBox>
<mx:TextArea id="output"/>
</mx:VBox>
</mx:HBox>
<mx:XMLList id="TreeData" xmlns="">
<item label="Item 1">
<item label="Item 1-1"/>
<item label="Item 1-2">
<item id="item121" label="Item 1-2-1"/>
</item>
</item>
<item label="Item 2"/>
</mx:XMLList>
</mx:Application>

Resulting in this:

Example 1

As you can see, it’s simple to create a RIA in some minutes using this powerfull tool, that can be customized in many ways to suit our needs.

Thant’s all folks! Hope you enjoy!

Posted in Flex, Technology | Tagged: , , | Leave a Comment »

The First Post (Not THAT Dramatic Huh?)

Posted by siegem on January 29, 2008

Hi! In the first place I need to thank you for looking around, besides there’s nothing to see…

As soon as my lazyness fade  some time happens to appear, I will be writing something about Flex, my new passion on the computer. I’ve spending some time learning this new tool and found there’s a lot more to see. Everything (or something like that) that I think that’s cool, I may write something about here. So, if you get yourself with nothing to do, take a look around again.

Bye!

Posted in Informative | Leave a Comment »