SlideShare a Scribd company logo
RIA Development via Adobe Flex + JRuby on Rails Prepared By  Chua Chee Seng
The RIA Definition Adobe : Rich Internet Application, Microsoft : Rich Interactive Application Well, definition from Wikipedia:  RIAs are web applications that have the features and functionality of traditional desktop applications.  RIAs typically transfer the processing necessary for the user interface to the web client but keep the bulk of the data back on the application server.
RIA Battlefield AJAX, Flex, Silverlight 2, JavaFX AJAX : Heavy use of Javascript and abstraction libraries (e.g. YUI) for interactive web UI development, based on web standard and no plugin required. Flex :  Use ActionScript 3.0 (aka Javascript 2) and Flex framework for interactive web UI development, runs on Flash Player plugin. Silverlight 2 : Able to use .NET languages like C# for development, back-ed by rich .NET runtime libraries, runs on Silverlight 2 plugin. JavaFX : Rebranded Java Applet (first RIA platform in the world since a decade ago, isn’t it?), written in F3 script.  Runs in Java plugin.
Adobe Flex Adobe Flex = Brand Name Technically, ActionScript 3.0 is the language (compatible with EMCAScript 4.0), while Flex is the application development Framework written in ActionScript 3.0 calling Flash API. Flash API (package prefix with flash.*) provides low-level functions, such as graphic, networking, event processing, printing, text processing, XML processing etc. Flex framework provides high-level application controls, such as Button, DateChooser, List, DataGrid, Tree etc.  These controls are written by calling low-level Flash API. The outcome of Flex Development is SWF file, which runs in Flash Player 9.0.
ActionScript 3.0 – Language Wise Object-Oriented Supports inheritance, interfaces, packages, error handling like Java. Supports properties like C#. Optional Dynamic Typing Function is the first class object. Event Processing is baked into the language.
Flex Development Model MXML + ActionScript 3.0 Describe UI using MXML, code controller logic using ActionScript 3.0. MXML is translated into ActionScript before compiled to binary. MXML => ActionScript => SWF
Custom Controls, 3 rd  Party You can create custom controls by writing it from the ground up using ActionScript 3.0, subclass existing controls, or combine few controls into one new control. There are numerous custom control written by 3 rd  party, some open source, free, some commercial. You can write your own and sell.
Talking to Server Web Service XML JSON AMF HTTP Socket
Ruby on Rails MVC web framework. Good support for agile development methodology. Promote Convention over Configuration Boost developer productivity by code generation (scaffolding), less code to write and maintain.
JRuby on Rails Ruby interpreter implemented in Java Use OS Thread instead of green thread Use unicode support in Java Java Integration Compile to byte codes
A Simple Blog Application Build User Interface via Flex Build Middle-tier via JRuby on Rails Makes then talk via XML and HTTP A little bit of AIR - Make the same code to run both in Web Browser and Desktop
Blog Editor Easy backend via JRuby on Rails Create Blog Editor UI via Flex Add flex_create action in controller Flex to call flex_create action
Blog Viewer Add flex_list action to controller Create Blog Viewer UI via Flex Flex to call flex_list to get blog data Data type serialization -> converting date Formatting data
Using 3 rd  Party Control Use SearchGrid to filter data. The processing is done at the Client side, the Server does not need to handle everything, thus help improve scalability.
A little bit of AIR… Adobe Integrated Runtime (AIR) platform makes your Flex application to run on Desktop Platform Reuse code written in Blog Editor and Viewer to create Desktop version of them.

More Related Content

PPT
Apache Flex: Overview
PPT
Flex_Basic_Training
PPT
Flex And Ria
PPT
Flex Framework Presentation PPT
PPT
Flex 4 Overview
PPT
Flex presentation1
PPT
Adobe Flex
PPT
Rupie asp.net
Apache Flex: Overview
Flex_Basic_Training
Flex And Ria
Flex Framework Presentation PPT
Flex 4 Overview
Flex presentation1
Adobe Flex
Rupie asp.net

What's hot (18)

PPT
Eclipsist2009 Rich Client Roundup
PPTX
Presentation on adobe Flex
PPT
Adobe Flex Introduction
PPTX
Silverlight 3.0
PPT
ASP.NET OVERVIEW
PDF
Introduction to Adobe Flex
PPT
MikeTaulty_Ux_Update
PPT
Introduction To Adobe Flex And Semantic Resources
PPT
Introduction to silver light
PPT
Silverlight
PPT
Silver Light
PPTX
Asp.net presentation by gajanand bohra
PPTX
Unit 1-introduction to scripts
PDF
Building Desktop RIAs with PHP, HTML & Javascript in AIR
PPT
Adobe Flex 4 Overview
PDF
Silverlight - What Is It And How Can We Use It
PPTX
PPT
Eclipsist2009 Rich Client Roundup
Presentation on adobe Flex
Adobe Flex Introduction
Silverlight 3.0
ASP.NET OVERVIEW
Introduction to Adobe Flex
MikeTaulty_Ux_Update
Introduction To Adobe Flex And Semantic Resources
Introduction to silver light
Silverlight
Silver Light
Asp.net presentation by gajanand bohra
Unit 1-introduction to scripts
Building Desktop RIAs with PHP, HTML & Javascript in AIR
Adobe Flex 4 Overview
Silverlight - What Is It And How Can We Use It
Ad

Similar to RIA Development via Adobe Flex + JRuby on Rails (20)

PPT
Flex RIA
PDF
Technology Trends
ODP
Ruby On Rails - Rochester K Linux User Group
PDF
Web Frameworks of the Future
PPT
Flex 3 - Introduction
PPT
Architecting RIAs
PPT
Flex for enterprise applications
KEY
RIA with Flex & PHP - Tulsa TechFest 2009
PDF
Flex Rails Pres
PDF
Ruby on rails vs asp.net mvc
PPT
What is Adobe Flex ?
PPT
Adobe® Flex™
PPT
Ruby On Rails
PDF
Flex Introduction
PPS
Afik Gal @alphageeks: Flex Intro
PDF
Talk by Tomas Lin on Building Killer RIAs with Flex and Grails at the Groovy ...
ODP
Better Drupal Interaction Design with Flex
PPTX
Apache Flex - Enterprise ready GUI framework
PDF
Introduction to Flex
ZIP
A Brief Intro to Adobe Flex
Flex RIA
Technology Trends
Ruby On Rails - Rochester K Linux User Group
Web Frameworks of the Future
Flex 3 - Introduction
Architecting RIAs
Flex for enterprise applications
RIA with Flex & PHP - Tulsa TechFest 2009
Flex Rails Pres
Ruby on rails vs asp.net mvc
What is Adobe Flex ?
Adobe® Flex™
Ruby On Rails
Flex Introduction
Afik Gal @alphageeks: Flex Intro
Talk by Tomas Lin on Building Killer RIAs with Flex and Grails at the Groovy ...
Better Drupal Interaction Design with Flex
Apache Flex - Enterprise ready GUI framework
Introduction to Flex
A Brief Intro to Adobe Flex
Ad

More from kamal.fariz (10)

PDF
Entrepreneur + Developer Gangbang: Co-working
PDF
The Malaysian Free Software Movement 2008
PPT
Impact of Higher Mathematics on the World Wide Web
ODP
Life of a GSoC Student
PPT
Design For Developers
PDF
SearchMonkey - Monkeying Around With Search
ODP
Content Delivery Network
PDF
So you want to build a Facebook app
PDF
Web Development with Ruby on Rails, MyGOSSCON 2007
PDF
Acunote vs. Mingle
Entrepreneur + Developer Gangbang: Co-working
The Malaysian Free Software Movement 2008
Impact of Higher Mathematics on the World Wide Web
Life of a GSoC Student
Design For Developers
SearchMonkey - Monkeying Around With Search
Content Delivery Network
So you want to build a Facebook app
Web Development with Ruby on Rails, MyGOSSCON 2007
Acunote vs. Mingle

Recently uploaded (20)

PDF
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
PDF
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
PDF
A Brief Introduction About Julia Allison
PPTX
Probability Distribution, binomial distribution, poisson distribution
PDF
Ôn tập tiếng anh trong kinh doanh nâng cao
PDF
MSPs in 10 Words - Created by US MSP Network
PDF
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
PDF
Laughter Yoga Basic Learning Workshop Manual
PPTX
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
PDF
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
PDF
Business model innovation report 2022.pdf
PPTX
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
PDF
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
PDF
Power and position in leadershipDOC-20250808-WA0011..pdf
PDF
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
PPTX
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
PDF
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
PDF
Types of control:Qualitative vs Quantitative
PDF
Training And Development of Employee .pdf
PDF
Nidhal Samdaie CV - International Business Consultant
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
A Brief Introduction About Julia Allison
Probability Distribution, binomial distribution, poisson distribution
Ôn tập tiếng anh trong kinh doanh nâng cao
MSPs in 10 Words - Created by US MSP Network
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
Laughter Yoga Basic Learning Workshop Manual
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
Business model innovation report 2022.pdf
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
Power and position in leadershipDOC-20250808-WA0011..pdf
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
Types of control:Qualitative vs Quantitative
Training And Development of Employee .pdf
Nidhal Samdaie CV - International Business Consultant

RIA Development via Adobe Flex + JRuby on Rails

  • 1. RIA Development via Adobe Flex + JRuby on Rails Prepared By Chua Chee Seng
  • 2. The RIA Definition Adobe : Rich Internet Application, Microsoft : Rich Interactive Application Well, definition from Wikipedia: RIAs are web applications that have the features and functionality of traditional desktop applications. RIAs typically transfer the processing necessary for the user interface to the web client but keep the bulk of the data back on the application server.
  • 3. RIA Battlefield AJAX, Flex, Silverlight 2, JavaFX AJAX : Heavy use of Javascript and abstraction libraries (e.g. YUI) for interactive web UI development, based on web standard and no plugin required. Flex : Use ActionScript 3.0 (aka Javascript 2) and Flex framework for interactive web UI development, runs on Flash Player plugin. Silverlight 2 : Able to use .NET languages like C# for development, back-ed by rich .NET runtime libraries, runs on Silverlight 2 plugin. JavaFX : Rebranded Java Applet (first RIA platform in the world since a decade ago, isn’t it?), written in F3 script. Runs in Java plugin.
  • 4. Adobe Flex Adobe Flex = Brand Name Technically, ActionScript 3.0 is the language (compatible with EMCAScript 4.0), while Flex is the application development Framework written in ActionScript 3.0 calling Flash API. Flash API (package prefix with flash.*) provides low-level functions, such as graphic, networking, event processing, printing, text processing, XML processing etc. Flex framework provides high-level application controls, such as Button, DateChooser, List, DataGrid, Tree etc. These controls are written by calling low-level Flash API. The outcome of Flex Development is SWF file, which runs in Flash Player 9.0.
  • 5. ActionScript 3.0 – Language Wise Object-Oriented Supports inheritance, interfaces, packages, error handling like Java. Supports properties like C#. Optional Dynamic Typing Function is the first class object. Event Processing is baked into the language.
  • 6. Flex Development Model MXML + ActionScript 3.0 Describe UI using MXML, code controller logic using ActionScript 3.0. MXML is translated into ActionScript before compiled to binary. MXML => ActionScript => SWF
  • 7. Custom Controls, 3 rd Party You can create custom controls by writing it from the ground up using ActionScript 3.0, subclass existing controls, or combine few controls into one new control. There are numerous custom control written by 3 rd party, some open source, free, some commercial. You can write your own and sell.
  • 8. Talking to Server Web Service XML JSON AMF HTTP Socket
  • 9. Ruby on Rails MVC web framework. Good support for agile development methodology. Promote Convention over Configuration Boost developer productivity by code generation (scaffolding), less code to write and maintain.
  • 10. JRuby on Rails Ruby interpreter implemented in Java Use OS Thread instead of green thread Use unicode support in Java Java Integration Compile to byte codes
  • 11. A Simple Blog Application Build User Interface via Flex Build Middle-tier via JRuby on Rails Makes then talk via XML and HTTP A little bit of AIR - Make the same code to run both in Web Browser and Desktop
  • 12. Blog Editor Easy backend via JRuby on Rails Create Blog Editor UI via Flex Add flex_create action in controller Flex to call flex_create action
  • 13. Blog Viewer Add flex_list action to controller Create Blog Viewer UI via Flex Flex to call flex_list to get blog data Data type serialization -> converting date Formatting data
  • 14. Using 3 rd Party Control Use SearchGrid to filter data. The processing is done at the Client side, the Server does not need to handle everything, thus help improve scalability.
  • 15. A little bit of AIR… Adobe Integrated Runtime (AIR) platform makes your Flex application to run on Desktop Platform Reuse code written in Blog Editor and Viewer to create Desktop version of them.