Getting Started with Flex and PHP

  • 7,572 views
Uploaded on

Introduction to Flex for PHP developers.

Introduction to Flex for PHP developers.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
7,572
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
79
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

  • http://www.smashingmagazine.com/2009/01/23/friday-freebies-flavours-icon-set-and-cute-tweeters-icon-set/

















  • Appear one by one




















  • http://www.smashingmagazine.com/2009/01/23/friday-freebies-flavours-icon-set-and-cute-tweeters-icon-set/

Transcript

  • 1. Getting Started with Flex and PHP
  • 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 Workflows Advanced PHP Features with Flex Using PHP and the Flash Platform
  • 4. Flex is Not: Basic Animations Banner Ads Simple Video Menu Bars Small Pieces of Interactivity
  • 5. 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
  • 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, Progressive Video HTML5
  • 7. 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
  • 8. Flex is Applications
  • 9. Flex is for Developers Open Source SDK Familiar Programming Model 3rd Party Libraries and Frameworks Developer Tutorials
  • 10. Flex is Rich, Extensible Components
  • 11. Flex is Consistency
  • 12. Flex is Productivity
  • 13. Developer Tooling
  • 14. Flash Builder Built on Eclipse Code completion, syntax highlighting Includes debugger, network monitor Build desktop or browser apps
  • 15. Other Flex Developer Tools Visual Studio Plugin IntelliJ TextMate Bundles
  • 16. 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
  • 17. Your first Flex App
  • 18. Easily Connect to Data
  • 19. Flash Builder Data Wizards Create PHP classes based on a database Easily connect to any exposed services Test operations and define types Generate forms based on data types Bind data to interface components
  • 20. AMF and the Zend Framework
  • 21. Intro to AMF A binary file 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 Specification
  • 22. 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
  • 23. http://www.jamesward.com/ census/
  • 24. What About Design?
  • 25. Designing Flex The ability to tweak styles with CSS Change themes that affect every component Work with a designer to skin components
  • 26. Designer/ Developer Workflow 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
  • 27. Leveraging the Designer in Flex
  • 28. Taking Flex and PHP Further
  • 29. Real-Time Data Over Sockets
  • 30. Typical HTTP Call Client Server Request Who Am I, What Am I, Where Am I Going? Response Who Am I, What Am I, Where Am I Going? Repeat
  • 31. Socket Call Client Server Connection Push
  • 32. PHP Can Act as Socket Server Flex can Connect via Socket Class Provides the capability to roll your own real-time data access
  • 33. Using PHP to Manage Collaboration
  • 34. LiveCycle Collaboration Services Cloud-based service for collaboration Uses Flash to enable real-time data transfer Includes a PHP library for managing service
  • 35. PHP and Collaboration Management, authentication
  • 36. Flashndroid
  • 37. Questions ryan@adobe.com blog.digitalbackcountry.com @ryanstewart 13 T 500100 4400259 github.com/ryanstewart