In Flex the XML language is optional and only declarative (no loops, 
conditionals, etc).  As Karsten pointed out the XML language is actually used 
to code-gen ActionScript.

Frequently Flex projects start out being 80% MXML and 20% AS3.  But over time 
the transition to being 20% MXML and 80% AS3.  As components need more 
customizations, testability, etc they are transitioned to AS3.

-James


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of Karsten Silz
Sent: Sunday, May 16, 2010 11:44 AM
To: The Java Posse
Subject: [The Java Posse] Re: JavaFX script language syntax for Android?

On 16 Mai, 18:57, "[email protected]" <[email protected]>
wrote:
> Problem with flex is it's XML, so
> pretty inflexible (just like Ant, great for simple - sucky for
> complex)

False, I believe.  I think the "UI XML" that you create visually in the the 
Flex / Flash Builder gets compiled internally into ActionScript by the Flex 
compiler and runs this way in the Flash Player.  I know that you can at least 
write re-usable Flex components in ActionScript directly, and you may even do 
that for your Flex UI mostly / completely 
(http://willperone.net/Code/as3ui.php).  If any of the Adobe guys read this 
group, maybe they can confirm.

In a sense, iPhone development works the same way - you either create your UI 
in Interface Builder visually, or you create in Objective-C in your controller, 
or you mix both.

--
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to