Flex: Difference between revisions

From air
Jump to navigation Jump to search
Line 46: Line 46:


===Remote (Procedure) Calls===
===Remote (Procedure) Calls===
====Web Services====
[[Flex/WS|WebServices avec Flex]]


====RESTFul Services====

====Action Message Format (v3)====
====Action Message Format (v3)====
binary format used to serialize ActionScript objects (Optimizes exchanged data amount)
binary format used to serialize ActionScript objects (Optimizes exchanged data amount)
* AMF3 for OSGi http://www.arum.co.uk/amf3osgi.php
* AMF3 for OSGi http://www.arum.co.uk/amf3osgi.php



===Modularité===
===Modularité===

Revision as of 00:04, 8 March 2011

Flex est devenu en quelques années un canevas fort apprécié pour la conception de Rich Internet Applications (RIA).

Description

wikipedia


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>

wikipedia

ActionScript

langage de script (syntaxe ECMAScript)

package fr.imag.air.sample.flex{
  public class MyClass interface MyInterface{
    public function MyClass() {
    }
    public function doSomething(): String {
    }
  }
}

wikipedia


Data Centric

Remote (Procedure) Calls

Web Services

WebServices avec Flex


RESTFul Services

Action Message Format (v3)

binary format used to serialize ActionScript objects (Optimizes exchanged data amount)

Modularité

Chaine de compilation

.mxml + .as -- compilation --> .swf -- ??? --> .exe

Déploiement

  • .swf embarqué dans une WAR

Outils

Editeurs

Compilateurs

Communication

Liens