Weitere ähnliche Inhalte Ähnlich wie Flex et PHP pour développer des applications mobiles (20) Mehr von Michael Chaize (20) Flex et PHP pour développer des applications mobiles1. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Michaël CHAIZE, Platform Evangelist- @mchaize
Applications mobiles avec Flex et PHP
2. ©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Michaël Chaize
2
@mchaize
RIAgora.com
6. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Partenaires technologiques
Open Screen Project
Diffuseurs de contenu
7. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Flash Player 10.1
Flash Player 10.1
Google TV
8. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Adobe AIR 2.5 = applications natives
Adobe AIR 2.5
10. Flex et PHP... la base
Flash Builder IDE
Flex SDK
Flex Class Library
MXML ActionScript
Compile
SOAP HTTP/S AMF/S
PHP Web Server
Existing Applications & Infrastructure
ZEND AMF /
AMF PHP
XML/HTTP
REST
SOAP Web Services
Browser
Flash Player
12. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Live coding Flex & PHP
14. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
! Flash Player 10.1 est embarqué, plus SQLite
! Les nouvelles APIs:
! Multi-touch & gestures
! Geolocation
! cut/copy/paste
! tel:, mailto:, maps:, video:
! Camera
! Microphone
! StageWebView
! Device Debugger
! cacheAsBitmapMatrix
AIR 2.5 sur téléphones mobiles
15. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Accelerometer
import flash.sensors.Accelerometer;
import flash.events.AccelerometerEvent;
if (Accelerometer.isSupported)
{
var accel:Accelerometer = new Accelerometer();
accel.addEventListener(AccelerometerEvent.UPDATE, updateHandler);
}
function updateHandler(e:AccelerometerEvent):void
{
e.accelerationX;
e.accelerationY;
e.accelerationZ;
}
16. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Gestures
import flash.events.TransformGestureEvent;
cell.addEventListener(TransformGestureEvent.GESTURE_ZOOM, onZoom);
function onZoom(e:TransformGestureEvent):void
{
cell.scaleX *= e.scaleX;
cell.scaleY = cell.scaleX;
}
cell.addEventListener(TransformGestureEvent.GESTURE_ROTATE, onRotate);
function onRotate(e:TransformGestureEvent):void
{
cell.rotation += e.rotation;
}
17. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Geolocation
import flash.sensors.Geolocation;
var geo:Geolocation;
if (Geolocation.isSupported)
{
geo = new Geolocation();
geo.addEventListener(GeolocationEvent.UPDATE, updateHandler);
geo.setRequestedUpdateInterval(10000);
}
function updateHandler(e:GeolocationEvent):void
{
e.accelerationX;
e.accelerationY;
e.accelerationZ;
}
18. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
DU FUN !
21. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Hero et les applications mobiles
21
Mobile Application
! Expose les composants classiques sur mobile
! Gestion automatique de l’orientatino, du retour, des
boutons menu et recherche
! CCréation et gestion d’un système simple de persistence
de la donnée pour la stocker et la récupérer à la
demande
! Skin de base pour applications mobiles
View et ViewNavigator
! Pour grouper dynamiquement et afficher du contenu
! Vous pouvez naviguer arbitrairement d’une vue à l’autre
! Passage de données d’une vue à l’autre
! Politiques de destruction accessibles pour gérer la
mémoire
! Gestion d’une barre d’action en fonction des vues
22. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 22
Hero et les applications mobiles
23. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
DU PRO !
24. ©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Flash Platform - Une plateforme complète pour tous les écrans
25. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
30. ©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Des questions ?
30
@mchaize
RIAgora.com
31. © 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.