Flex: Difference between revisions
Jump to navigation
Jump to search
(→MXML) |
|||
| Line 32: | Line 32: | ||
} |
} |
||
</pre> |
</pre> |
||
''[http://en.wikipedia.org/wiki/ActionScript wikipedia]'' |
|||
===Remote (Procedure) Calls=== |
===Remote (Procedure) Calls=== |
||
Revision as of 17:14, 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:Application xmlns: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:Label text="Label" /> <s:Button label="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
Action Message Format (v3)
binary format used to serialize ActionScript objects (Optimizes exchanged data amount)
- AMF3 for OSGi http://www.arum.co.uk/amf3osgi.php
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