Flex: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 3: | Line 3: | ||
==Description== |
==Description== |
||
===MXML=== |
|||
langage déclarative des interfaces (syntaxe XML) |
|||
<pre> |
<pre> |
||
Line 17: | Line 18: | ||
ActionScript |
===ActionScript=== |
||
langage de script (syntaxe ECMAScript) |
|||
<pre> |
<pre> |
||
Line 30: | Line 32: | ||
</pre> |
</pre> |
||
===Remote (Procedure) Calls=== |
|||
ActionMessageFormat(v3) : binary format used to serialize ActionScript objects (Optimizes exchanged data amount) |
|||
==Chaine de compilation== |
==Chaine de compilation== |
Revision as of 16:44, 22 February 2011
Flex est devenu en quelques années un canevas RIA fort apprécié.
Description
MXML
langage déclarative des interfaces (syntaxe XML)
<s:Applicationxmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <s:Panel> <s:Labeltext="Label" /> <s:Buttonlabel="Button" /> </s:Panel> </s:Application>
ActionScript
langage de script (syntaxe ECMAScript)
package fr.imag.air.sample.flex{ public class MyClass interface MyInterface{ public function MyClass() { } public function doSomething(): String { } } }
Remote (Procedure) Calls
ActionMessageFormat(v3) : binary format used to serialize ActionScript objects (Optimizes exchanged data amount)
Chaine de compilation
.mxml + .as -- compilation --> .swf -- ??? --> .exe
Déploiement
- .swf embarqué dans une WAR
Outils
Editeurs
- plugin Eclipse
Compilateurs
Communication
Liens
- Building complex and modular RIAs with OSGi and Flex http://france.osgiusers.org/wiki/uploads/Meeting/fornaciari-osgi-flex.pdf