This document provides an overview of building a Rich Internet Application (RIA) using Adobe Flex and a PHP backend. It discusses using the Yii framework to create models, controllers and define web services to connect the Flex frontend to the PHP backend using a MySQL database. Code examples are provided to demonstrate integrating Flex and PHP using web services.
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
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)
Flash was an animation tool
Flex is a development platform
Output of Flex is a complied Flex