SlideShare a Scribd company logo
RIA with Flex & PHP
     Tulsa TechFest 11/06/2009

   Jason Ragsdale & Tommy Falgout




                 1
What?

• Rich Internet Application
 • Flex or AIR based
 • Web Service Backend

                     2
MySQL


• Create table “Customers”
• Create table “Inventory”


                    3
Yii Framework


• Used CLI interface to create the project
• Configure for DB connection


                     4
Yii Framework


• Use CLI create model & CRUD
• Use CLI create controller “soap”


                     5
Yii Framework

• Define the Service provider
• Declaring Web Service Action
• Mapping the Class

                    6
Let’s Code It!




      7
What is an RIA?
• RIA is an application that runs in the
  traditional browser, but utilizes an
  intermediate layer that can bypass the
  traditional page refresh.
  • AJAX ( Async JS & XML)
  • OpenLaszlo (Flash Player + AJAX)
  • Flex/Flash
                      8
What is Adobe Flex?
• Client Side, deployed as Flash .swf
 • Written as MXML (Macromedia XML)
 • Similar to XHTML
 • UI Components
 • Class Libraries
 • Evolved from Flash
                   9
Benefits of Flex:

• Any language as backend
• SWF can be served by any HTTP
  webserver
• Can serve as UI for different apps
• With AIR, can work as Desktop Client

                    10
Benefits of Flex:
•   Code once. Port to Web/Desktop (any browser!)

•   Comes with WYSIWYG designer

•   CSS Skinning

•   Rich + Reach

•   Designer + Developer

•   Flash has 99% reach


                           11
Available Elements

• Layout/Navigation
 • Canvas, Form,VBox, HBox, Accordion
• Controls
 • Button, Checkbox, ComboBox, TextInput,
    Live, Label, Tree


                        12
Available Elements

• Charts
 • Bar Chart, Pie Chart, Line Chart
• Data connectivity
 • HTTPService, RemoteObject,
    Webservice, XML


                    13
Available Elements
• Validation
 • Email, Date, ZipCode
• Effects
 • Zoom, Resize, Move, Fade
• Databinding
 • "Glues" Data from source to Dest
                   14
Language

• ActionScript = Javascript + Java
• MXML - ActionScript
• Familiar syntax (Similar to C++, Java, C#, JS)
• Dynamic Language

                      15
Let’s Code It!




      16
Q&A




 17
Links

• twitter: @jasrags & @snoopykiss
• yiiframework.com
• adobe.com/flex

                    18

More Related Content

KEY
Yii Framework
PPTX
yii framework
PDF
Yii PHP MVC Framework presentation silicongulf.com
PPT
Yii framework
PPTX
Yii framework
PPSX
Yii framework
PPT
Introduction to YII framework
PPTX
Why choose Yii framework?
Yii Framework
yii framework
Yii PHP MVC Framework presentation silicongulf.com
Yii framework
Yii framework
Yii framework
Introduction to YII framework
Why choose Yii framework?

What's hot (20)

PDF
Yii Framework Security
PPT
Yii php framework_honey
KEY
Yii Introduction
PPT
Yii workshop
PPTX
Yii Training session-1
PPS
Codeigniter, a MVC framework for beginner
PPT
Introduction To CodeIgniter
PPTX
PHP Frameworks & Introduction to CodeIgniter
PPTX
Php Framework
PPT
Codeigniter
PDF
Best PHP Frameworks
PDF
JavaCro'15 - GP GUI form generators - Daniel Strmečki
PPTX
Codeigniter Introduction
PPTX
Liferay 7
PPT
Introduction To Code Igniter
PDF
Moved to https://slidr.io/azzazzel/leveraging-osgi-to-create-extensible-plugi...
PPTX
P H P Framework
PPT
PHP Frameworks and CodeIgniter
PPT
Benefits of the CodeIgniter Framework
PDF
Laravel 9 is now out – how is an improvement over its predecessors
Yii Framework Security
Yii php framework_honey
Yii Introduction
Yii workshop
Yii Training session-1
Codeigniter, a MVC framework for beginner
Introduction To CodeIgniter
PHP Frameworks & Introduction to CodeIgniter
Php Framework
Codeigniter
Best PHP Frameworks
JavaCro'15 - GP GUI form generators - Daniel Strmečki
Codeigniter Introduction
Liferay 7
Introduction To Code Igniter
Moved to https://slidr.io/azzazzel/leveraging-osgi-to-create-extensible-plugi...
P H P Framework
PHP Frameworks and CodeIgniter
Benefits of the CodeIgniter Framework
Laravel 9 is now out – how is an improvement over its predecessors
Ad

Similar to RIA with Flex & PHP - Tulsa TechFest 2009 (20)

PPTX
Web Development Technologies
PPT
VFP & Ajax
KEY
Mobile ECM with JavaScript - JSE 2011
PDF
DevTeach Ottawa - Silverlight5 and HTML5
PDF
Social Connections 2015 CrossWorlds and Domino
PDF
Intro to Xamarin
PPTX
Product Camp Silicon Valley 2018 - PM Technical Skills
PPT
Inland Empire .NET User's Group Silverlight Class
PDF
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
PDF
From RPG OA to Node.js: Approaches to Application Modernization - Greg Patterson
PDF
Desktop Bridge with WPF - One way to build modern apps with WPF
PPT
The Mobile Development Landscape
KEY
20120802 timisoara
PDF
Ch 10: Hacking Web Servers
PPT
Integrating ADF Mobile with WebCenter
PPTX
Week01 jan19 introductionto_php
PDF
CrossWorlds: Unleash the Power of Domino for Connections Development
PPTX
Developing Windows Phone 8 apps using PhoneGap
PDF
Working and Features of HTML5 and PhoneGap - An Overview
PDF
Firefox OS Apps & APIs - Dutch Mobile Conference / Serbia & Montenegro App da...
Web Development Technologies
VFP & Ajax
Mobile ECM with JavaScript - JSE 2011
DevTeach Ottawa - Silverlight5 and HTML5
Social Connections 2015 CrossWorlds and Domino
Intro to Xamarin
Product Camp Silicon Valley 2018 - PM Technical Skills
Inland Empire .NET User's Group Silverlight Class
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
From RPG OA to Node.js: Approaches to Application Modernization - Greg Patterson
Desktop Bridge with WPF - One way to build modern apps with WPF
The Mobile Development Landscape
20120802 timisoara
Ch 10: Hacking Web Servers
Integrating ADF Mobile with WebCenter
Week01 jan19 introductionto_php
CrossWorlds: Unleash the Power of Domino for Connections Development
Developing Windows Phone 8 apps using PhoneGap
Working and Features of HTML5 and PhoneGap - An Overview
Firefox OS Apps & APIs - Dutch Mobile Conference / Serbia & Montenegro App da...
Ad

More from Jason Ragsdale (8)

PDF
Tulsa techfest2010 security
PDF
Tulsa tech fest 2010 - web speed and scalability
KEY
Caching: A Guided Tour - 10/12/2010
KEY
Test Driven Development - Tulsa TechFest 2009
KEY
Test Driven Development - 09/2009
PDF
What Is Security
PPT
Web Speed And Scalability
KEY
Test Driven Development
Tulsa techfest2010 security
Tulsa tech fest 2010 - web speed and scalability
Caching: A Guided Tour - 10/12/2010
Test Driven Development - Tulsa TechFest 2009
Test Driven Development - 09/2009
What Is Security
Web Speed And Scalability
Test Driven Development

Recently uploaded (20)

PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
Empathic Computing: Creating Shared Understanding
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
KodekX | Application Modernization Development
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Building Integrated photovoltaic BIPV_UPV.pdf
Modernizing your data center with Dell and AMD
Empathic Computing: Creating Shared Understanding
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Approach and Philosophy of On baking technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Diabetes mellitus diagnosis method based random forest with bat algorithm
KodekX | Application Modernization Development
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Chapter 3 Spatial Domain Image Processing.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Spectral efficient network and resource selection model in 5G networks
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
NewMind AI Monthly Chronicles - July 2025
Dropbox Q2 2025 Financial Results & Investor Presentation
Agricultural_Statistics_at_a_Glance_2022_0.pdf

RIA with Flex & PHP - Tulsa TechFest 2009

  • 1. RIA with Flex & PHP Tulsa TechFest 11/06/2009 Jason Ragsdale & Tommy Falgout 1
  • 2. What? • Rich Internet Application • Flex or AIR based • Web Service Backend 2
  • 3. MySQL • Create table “Customers” • Create table “Inventory” 3
  • 4. Yii Framework • Used CLI interface to create the project • Configure for DB connection 4
  • 5. Yii Framework • Use CLI create model & CRUD • Use CLI create controller “soap” 5
  • 6. Yii Framework • Define the Service provider • Declaring Web Service Action • Mapping the Class 6
  • 8. What is an RIA? • RIA is an application that runs in the traditional browser, but utilizes an intermediate layer that can bypass the traditional page refresh. • AJAX ( Async JS & XML) • OpenLaszlo (Flash Player + AJAX) • Flex/Flash 8
  • 9. What is Adobe Flex? • Client Side, deployed as Flash .swf • Written as MXML (Macromedia XML) • Similar to XHTML • UI Components • Class Libraries • Evolved from Flash 9
  • 10. Benefits of Flex: • Any language as backend • SWF can be served by any HTTP webserver • Can serve as UI for different apps • With AIR, can work as Desktop Client 10
  • 11. Benefits of Flex: • Code once. Port to Web/Desktop (any browser!) • Comes with WYSIWYG designer • CSS Skinning • Rich + Reach • Designer + Developer • Flash has 99% reach 11
  • 12. Available Elements • Layout/Navigation • Canvas, Form,VBox, HBox, Accordion • Controls • Button, Checkbox, ComboBox, TextInput, Live, Label, Tree 12
  • 13. Available Elements • Charts • Bar Chart, Pie Chart, Line Chart • Data connectivity • HTTPService, RemoteObject, Webservice, XML 13
  • 14. Available Elements • Validation • Email, Date, ZipCode • Effects • Zoom, Resize, Move, Fade • Databinding • "Glues" Data from source to Dest 14
  • 15. Language • ActionScript = Javascript + Java • MXML - ActionScript • Familiar syntax (Similar to C++, Java, C#, JS) • Dynamic Language 15
  • 18. Links • twitter: @jasrags & @snoopykiss • yiiframework.com • adobe.com/flex 18

Editor's Notes

  • #9: In 1992, we moved from Mainframes to Client/Servers Then in 1998, we moved from Client/Servers to Web Apps And in 2004, we now have Rich Internet Applications (RIA)
  • #10: Flash was an animation tool Flex is a development platform Output of Flex is a complied Flex
  • #16: Examples: Nick.com desktop app Mini Car Builder