2. Ryan Stewart
ryan@adobe.com
blog.digitalbackcountry.com
@ryanstewart
github.com/ryanstewart
Live in Seattle, WA
(Born in Glenwood Springs)
Into: Beer, Mountaineering, Geolocation
Adobe evangelist for 3.5 years
13 T 500100
4400259
3. Agenda
What is Flex?
Flex and PHP: The Why and the Workļ¬ows
Advanced PHP Features with Flex
Using PHP and the Flash Platform
4.
5. Flex is Not:
Basic Animations
Banner Ads
Simple Video
Menu Bars
Small Pieces of
Interactivity
6. Pyramid of Flash Features and Use Cases
RIAs,
Games
Real-Time Collaboration
Data Visualization, Gestures
Interactive Widgets,
Streaming
Video, Advanced Drawing,
Sound Generation, Filters/
Effects
Simple Animation, Vector Graphics, Banner Ads,
5 Progressive Video
7. Pyramid of Flash Features and Use Cases
RIAs,
Games
Real-Time Collaboration
Data Visualization, Gestures
Interactive Widgets,
Streaming
Video, Advanced Drawing,
Sound Generation, Filters/
Effects
Simple Animation, Vector Graphics, Banner Ads,
Progressive Video HTML5
8. Pyramid of Flash Features and Use Cases
RIAs,
Games
Flex
Real-Time Collaboration
Data Visualization, Gestures
Interactive Widgets,
Streaming
Video, Advanced Drawing,
Sound Generation, Filters/
Effects
Simple Animation, Vector Graphics, Banner Ads,
Progressive Video HTML5
17. How Flex and PHP Work
Together
In-Browser Applications Desktop/Mobile Apps
Compile to SWF Package
Flex Framework Components, Data Connection Effects
Debugger, Validators,
APIs, Compiler,
XML / JSON / AMF / HTTP(S) / SOAP / Socket / RTMP
PHP Code Exposed as Services that connects calls data from
external data sources
20. Flash Builder Data Wizards
Create PHP classes based on a
database
Easily connect to any exposed services
Test operations and deļ¬ne types
Generate forms based on data types
Bind data to interface components
22. Intro to AMF
A binary ļ¬le format that
represents a serialized
ActionScript object
Created as a way to exchange
data with the Flash Player
Allows you to map data types to
Flash Player types
Open Speciļ¬cation
23. AMF and PHP Projects
AMFPHP - Great, open source, easy to use, still
the standard
ZendAMF - Part of the Zend Framework, most
up to date
WebORB PHP - Part of WebORB family, comes
with code generation tools
SaberAMF - Lightweight AMF implementation,
similar to AMFPHP
26. Designing Flex
The ability to tweak styles with CSS
Change themes that affect every component
Work with a designer to skin components
27. Designer/
Developer
Workļ¬ow
Flexās component model
separates design from
logic
Allows developers to take
and easily integrate
designer content
Flash Catalyst is the UI
designer for Flex
35. LiveCycle Collaboration
Services
Cloud-based service for collaboration
Uses Flash to enable real-time data
transfer
Includes a PHP library for managing
service