SlideShare a Scribd company logo
Flex                                         构




    zma@adobe.com
    Platform Technology Evangelist
    Blog: www.7yue.com
2006 Adobe Systems Incorporated. All Rights Reserved.
/
                                         1960s & 1970s   1980s & 1990s




2008 Adobe Systems Incorporated. All Rights Reserved.
Web/App
                                                               /         Middleware
                                         1960s & 1970s   1980s & 1990s   1990s & 2000s




2008 Adobe Systems Incorporated. All Rights Reserved.
Web Services &
                                                              RIA        App Connectors




                                                                         Web




                                                                            Web/App            SOA
                                                               /
                                         1960s & 1970s   1980s & 1990s   1990s & 2000s    2000s & Future




2008 Adobe Systems Incorporated. All Rights Reserved.
Flash Platform & Flex




2008 Adobe Systems Incorporated. All Rights Reserved.
Adobe Flash




                                                                                   Adobe            Adobe Flash
                                                                                   Flash® Player    Media Server
                                                                                                    family
    Adobe Flash                     Adobe Flash         Adobe Flex
    CS4 Professional                Catalyst            Builder      Adobe Flex®
                                                                                                   Data Services
                                                                                    Adobe AIR™




2008 Adobe Systems Incorporated. All Rights Reserved.
RIA Adobe

       Design &
                                               Applications                Third-party                                Adobe
       Development
       Tools                                                                                                                                            Client
                                               Frameworks                             Flex Framework                             Third-party            Application
                  Creative                                                                                                                              Tier
                  Suite
                                                                                    Browsers            Flash    Reader     Devices   Flash    Reader
                                                                                                        Player                        Lite     LE

                                            AIR         Flash   PDF      HTML
                  Flex
                  Builder

                                                                      HTTP/S, Sockets, AMF, RTMP,
                  LiveCycle                                           SOAP, WS*, REST, …
                  Designer

                                          Remote Domains                        Local Domain

                  Eclipse                  Adobe            Other               Application Servers                              Flash         Flash
                                           Web              Web
                                           Services         Services                                                             Media         Cast     Service
                                                                                 LiveCycle     ColdFusion
                                                                                                                                 Server                 Tier
                                                            Flickr.com                                      HTTP      Other
                                                            eBay API                                        Service   Services
                  Notepad                                   Yahoo! API
                                                            Google API


                                                                                                            ECM            Message        Other          Printing &
         Resource Tier                            EIS                  Databases         Directories        Repository     Queues         Systems        Scanning




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex UI + SOA = SOC


         Front End                                      Client Tier

                                                                                      SOC
         •                                                     , Applets,
        • 
        •                SOA
        • 
        •                                     /
        • 
        • 
                                                        ASP, JSP, Servlets,
                                                                              Services Oriented Client
                                                                              UI
         • 
        • 
         • 
        • 


         Back End
         • 
         • 
         •                                                                        SOA / ESA
         • 
         • 
         • 




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                                构划




2008 Adobe Systems Incorporated. All Rights Reserved.
Adobe Flex


                                                        Adobe®
                                                        Flex™ 3 SDK

                                                        Open source Flex SDK




                                                        MXML and ActionScript 3.0




                                                        Command-line




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex 3 Open Source

 Flex 3开
  SDK                                             MPL          framework, compiler, debugger
                          bug                           JIRA
  opensource.adobe.com/ ex
 
             Free Adobe Flex SDK
                     Open Flex SDK
                     Flex UI Component
                     AIR SDK
             Open Flex SDK
                     Compiler+Frameworks
             Flex SDK add-ons for Open Flex SDK
                     UI Component
                     AIR SDK


2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                          - MXML




                 <mx:Application>
                   <mx:WebService id=“ws” wsdl=“catalog.wsdl”/>
                   <mx:Button label=“Get Data” click=“ws.getProducts()”/>
                   <mx:DataGrid dataProvider=“{ws.getProducts.result}”/>
                   <mx:LineChart dataProvider=“{ws.getProducts.result}”/>
                 </mx:Application>




2008 Adobe Systems Incorporated. All Rights Reserved.
MXML –




                 <mx:Application>
                   <mx:WebService id=“ws” wsdl=“catalog.wsdl”/>
                   <mx:Button label=“Get Data” click=“ws.getProducts()”/>
                   <mx:DataGrid dataProvider=“{ws.getProducts.result}”/>
                   <mx:LineChart dataProvider=“{ws.getProducts.result}”/>
                 </mx:Application>




2008 Adobe Systems Incorporated. All Rights Reserved.
MXML –




                 <mx:Application>
                   <mx:WebService id=“ws” wsdl=“catalog.wsdl”/>
                   <mx:Button label=“Get Data” click=“ws.getProducts()”/>
                   <mx:DataGrid dataProvider=“{ws.getProducts.result}”/>
                   <mx:LineChart dataProvider=“{ws.getProducts.result}”/>
                 </mx:Application>




2008 Adobe Systems Incorporated. All Rights Reserved.
MXML –




                 <mx:Application>
                   <mx:WebService id=“ws” wsdl=“catalog.wsdl”/>
                   <mx:Button label=“Get Data” click=“ws.getProducts()”/>
                   <mx:DataGrid dataProvider=“{ws.getProducts.result}”/>
                   <mx:LineChart dataProvider=“{ws.getProducts.result}”/>
                 </mx:Application>




2008 Adobe Systems Incorporated. All Rights Reserved.
MXML –




                 <mx:Application>
                   <mx:WebService id=“ws” wsdl=“catalog.wsdl”/>
                   <mx:Button label=“Get Data” click=“ws.getProducts()”/>
                   <mx:DataGrid dataProvider=“{ws.getProducts.result}”/>
                   <mx:LineChart dataProvider=“{ws.getProducts.result}”/>
                 </mx:Application>




2008 Adobe Systems Incorporated. All Rights Reserved.
MXML –




                 <mx:Application>
                   <mx:WebService id=“ws” wsdl=“catalog.wsdl”/>
                   <mx:Button label=“Get Data” click=“ws.getProducts()”/>
                   <mx:DataGrid dataProvider=“{ws.getProducts.result}”/>
                   <mx:LineChart dataProvider=“{ws.getProducts.result}”/>
                 </mx:Application>




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                         -                 AVM2     Flash Player




2008 Adobe Systems Incorporated. All Rights Reserved.
Flash Player                                                  2


  Retained
                                            AS3 Retained Mode
                                                  Adobe
                                                                   GPU Cell
                                                          video,audio
                                                                 Surfaces
                     BitmapData,Filters,cacheAsBitmap
                     Bitmap
           
           
           




2008 Adobe Systems Incorporated. All Rights Reserved.
Flash Player                                                         2

  Immediate
           
           
           

 
           

 
            Pixel Bender                               Immediate
            GPU                                Immediate
                                                             Immediate
            Bitmap                                 lls        Retained
            AS3 Retained
                                                         Binary    Retained




2008 Adobe Systems Incorporated. All Rights Reserved.
Flash Player  




2008 Adobe Systems Incorporated. All Rights Reserved.
  AS3 Execution Model
           
           
 
                    UI
           
                    Video                                          HD Vide
            AS3
 
            Flash Player 10 AS3 Runtime Execution
                              Socket
           
                                                       Pixel Bender Shaders          AVM
                                            Green Thread                      Thread Library
                     http://www.libspark.org/htdocs/as3/thread- les/document/
 
            FP11 12

2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                         –




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                          – MXML




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex

 
           Application  +
       Label构 HelloWorld
  Binary Size




                   FlashCS4 Binary Size:
            116KB

                   AS3+Compiler:
            8KB




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex frameworks

                                                        
                                                             
                                                              Binary Code Size     (
           
                                                                                  Flash
           
           
                                                         
                                                             
            UI Forms UI interaction                          
                                                             
                                                             
           
           




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex



     Flex SDK
            MXML                    ActionScript                            Flash Player

                 Flex

                         Debuggers                      SOAP       HTTP/S           AMF/S         RTMP/S


                     Flex Builder IDE
                                                         Web


                                                        XML/HTTP
                                                                                     LC Data Services
                                                        REST
                                                        SOAP Web Services       J2EE Application Server




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                            - SAP example




2008 Adobe Systems Incorporated. All Rights Reserved.
种                                       Flex


                                                                                   4) design tweaks




                                                                                                        esign
                                                                                                itial d
                                                                                           2) in
                                                                                                                Developer
                                                                ttes
                                                        +v igne
                                          m       ps
                                    1) co
                                                                       Design Production
                                                                         (Flash
                                                                         Catalyst)

     Visual Designer
                                                                                             3) development



2008 Adobe Systems Incorporated. All Rights Reserved.
- Flash Catalyst




2008 Adobe Systems Incorporated. All Rights Reserved.
UI




2008 Adobe Systems Incorporated. All Rights Reserved.
Demo




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                                          – BlazeDS        构
                                                                                  LiveCycle Data Services ES
                                                                                              BlazeDS
BlazeDS                             Adobe                   LGPL v3               Data Management
                                                                                                              Service
                                                                                                              Adapters
                                                                      HTTP        Data Synchronization
                                                                                                              LiveCycle
                               Flash/Flex Remtoing                                Off-line Applications

                                                                                      Data Paging               SQL

                                                                                     RPC Services
•                                                                                     Web Service
                                                                                                              Hibernate


          •                                                        Flex      UI       HTTP Service           ColdFusion
                                                                                  Remote Object Service
          •                                                                                                     JMS
                                                                                      Messaging
          •                 HTTP
                                                                                   Publish & Subscribe          Java
          •                                             /                             Collaboration
                                                                                                              Custom…
•                      Action Message Format (AMF3) 2                              Real Time Data Push

                                                                                            Proxy Service
                                                                                         Web-tier Compiler
                                                                                         Portal Deployment
                                                                                         RIA-PDF Generation




2008 Adobe Systems Incorporated. All Rights Reserved.
BlazeDS




2008 Adobe Systems Incorporated. All Rights Reserved.
BlazeDS




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex with Java via XML (RESTful / SOAP)

                                                                App Server




                                                        Web Service
                                        XML
                            (RESTful / SOAP)




2007 Adobe Systems Incorporated. All Rights Reserved.
Flex with Java via Flash Remoting

                                                                     J2EE Server
                                                        BlazeDS

                                                                                     POJO




                                                          Endpoint                 Spring Bean

                                     AMF

                                                                                      EJB




                                                                                      Other




2007 Adobe Systems Incorporated. All Rights Reserved.
Flex with Java via BlazeDS Messaging

                                                                            J2EE Server
                                                                      BlazeDS

                                                                                                Messaging
                                                                                   Adapter X
                                                                                                System X



                                                                        Message                    JMS
                                                        Endpoint                  JMS Adapter
                                                                        Service                  Provider



                                                                                                Messaging
                                                                                   Adapter Y
                                                                                                 System Y



                                         RTMP
                                         AMF
                                         HTTP                      Publisher
                                                                   Subscriber




2007 Adobe Systems Incorporated. All Rights Reserved.
RIA




                                           Census Project:
                                           http://www.jamesward.com/census/
                                           http:// exapps.cvs.sourceforge.net/ exapps/census/


2008 Adobe Systems Incorporated. All Rights Reserved.
BlazeDS                                  –             AMF3




                                                                 5000   Flex AMF3   No.1   1.6s


                                                                  
Ajax HTML>Ajax XML>Laszlo XML>Flex XML AS>Flex XML E4X>Ajax JSON>Dojo>Ajax SOAP>Flex
SOAP AS>Flex SOAP E4X>Flex AMF3(0.2s)
                                             
Laszlo XML>Flex SOAP AS>Flex SOAP E4X>Ajax SOAP>Flex XML AS>Flex XML E4X>Ajax HTML>Ajax
JSON>Flex AMF3(0.9s)>Ajax XML>Dojo
                                             
Flex SOAP AS>Ajax SOAP>Ajax XML>Laszlo XML>Flex XML AS>Ajax JSON>Flex SOAP E4X>Flex XML
E4X>Dojo>Flex AMF3(0.1s)>Ajax HTML
                                           
Dojo>Ajax HTML>Ajax SOAP>Ajax XML>Ajax JSON>Laszlo XML>Flex SOAP E4X>Flex SOAP AS>Flex
XML E4X>Flex AMF3(0.4s)>Flex XML AS
  2008 Adobe Systems Incorporated. All Rights Reserved.
Flex


                                                           Flex
            Cairngorm (Adobe Open Source) - MVC framework
            PureMVC (Open Source) - MVC framework
            Mate (Open Source) - tag-based, event-driven
            Swiz (Open Source) - Metadata-based Dependency Injection
            Spring ActionScript (Open Source) – IOC Framework
 
            http://www.infoq.com/news/2008/01/ ex-mvc
 
                                                       framework   适 framework
            Flex                                                   Flex


2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                                            - Cairngorm

  http://opensource.adobe.com/wiki/                                          
   display/cairngorm/                                                              
                                                                                     Java
                                                       Flex                                 Flex
            micro-architecture                                     design         
             patterns
                                                       Java                  
                                                                                  
                                                               UI
                                                                                    Flex
                 Cairngorm                                Flex
                                                                                   
            ModleLocator
            ServiceLocator
           
            FrontController




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                                            - PureMVC

  http://puremvc.org/                                                  
                                                                            
                                                                            
                                Flex                                        
                                MVC                                    
            Model,View,Controller                                           
                                                         Façade                Flex   MXML
                                                        public
                   PureMVC                                   Flex           

                    Cairngorm
                                                           packages
           
                                           Façade




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                                            - Mate

  http://mate.asfusion.com/                                          
                                                                          
                                                                          
                                   MXML                                                   agents
                                                                                              Flex
                                                                           
            “                                           ”
                                                                           
                 Mate                           Flex                               众
                                                                     
                                       MXML             event map                  MXML
            event map mxml                                                   适                       AS

                                            event map                     
           
                                                                                  LiveCycle DataServices




2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                                            - Swiz


  http://code.google.com/p/                                          
   swizframework/                                                          
                                                                          
            IoC DI                                                            metadata IoC DI
                                                                                     Flex
           
                                                       Java          
                                                                              Mate
                       Swiz                            Flex
                                             Swiz
                                                                           
                    
                    
                        metatag                           Autowire



2008 Adobe Systems Incorporated. All Rights Reserved.
Flex                                            – Spring ActionScript

  http://www.pranaframework.org/                                   
                                                                               Cairngorm
            as3                     IoC                                        PureMVC
                                                 Flex                   
                                                                                 services-con g.xml   messaging-
                         Cairngorm PureMVC                                  con g.xml
                                   MVC                                  
                         Java Spring                                    
                                       BlazeDS remoting                 
                messaging
                                                                    
                 Spring AS                              Flex
                                                                         
                                                        XML
                                                                                             Logging
                                                                                Spring AS        logging
           
                        method-invocation
                         MethodInvokingFactory
           




2008 Adobe Systems Incorporated. All Rights Reserved.
Where to go next?


  www.adobe.com/devnet
  www. ex.org
  www.adobe.com/opensource
  www.insideRIA.com
  www.actionscript3.cn
  www.riameeting.cn
  www.infoq.com/cn



2008 Adobe Systems Incorporated. All Rights Reserved.
                                                        4
                                                        8
2008 Adobe Systems Incorporated. All Rights Reserved.

More Related Content

PDF
Flex体系架构剖析
PDF
Enrique Duvos: Adobe RIA Platform
PDF
Flex 4.5 and mobile development
PDF
Develop multi-screen applications with Flex
PPTX
Dev Days Unified Communications Development
PDF
Michael Adobe Flex Java 1 London
PPT
Adobe® Flex™
PDF
Drupal and-flex-drupal camp
Flex体系架构剖析
Enrique Duvos: Adobe RIA Platform
Flex 4.5 and mobile development
Develop multi-screen applications with Flex
Dev Days Unified Communications Development
Michael Adobe Flex Java 1 London
Adobe® Flex™
Drupal and-flex-drupal camp

What's hot (19)

PDF
IBM Forms: Streamline your business, reduce cost and paper
PDF
【13-C-3】 RIA 開発をとりまく技術の進化と環境の変化
PDF
6 develop web20_with_rad-tim_frnacis_sarika-s
 
PDF
Special Purpose Role-Based Clients for PLM using Aras
PPTX
Soa204 Kawasaki Final
PDF
PlexRIA2008
PPTX
SilverlightCh01
PDF
Grameen Solutions Product Engineering Featured Projects 2009 11 12
PPTX
HTML5 & WAI ARIA for online banking
PDF
Top Five Reasons to Upgrade to SAP NetWeaver Portal 7.3
PDF
Best Practices for Upgrading Your Portal to SAP NetWeaver 7.3
KEY
Droidcon - Unify Insights
PPTX
MonoTouch 5.2 Introduction
PDF
Grameen Solutions Technology Skills
PPTX
A great api is hard to find
PDF
bccon-2014 dev04 domino_apps_reaching_up&out
PDF
Genesis Overview Slides from Adobe MAX 2008
PPTX
Stug -Sir Syed University On Location-Live Event
PDF
Aras PLM Software Solutions
IBM Forms: Streamline your business, reduce cost and paper
【13-C-3】 RIA 開発をとりまく技術の進化と環境の変化
6 develop web20_with_rad-tim_frnacis_sarika-s
 
Special Purpose Role-Based Clients for PLM using Aras
Soa204 Kawasaki Final
PlexRIA2008
SilverlightCh01
Grameen Solutions Product Engineering Featured Projects 2009 11 12
HTML5 & WAI ARIA for online banking
Top Five Reasons to Upgrade to SAP NetWeaver Portal 7.3
Best Practices for Upgrading Your Portal to SAP NetWeaver 7.3
Droidcon - Unify Insights
MonoTouch 5.2 Introduction
Grameen Solutions Technology Skills
A great api is hard to find
bccon-2014 dev04 domino_apps_reaching_up&out
Genesis Overview Slides from Adobe MAX 2008
Stug -Sir Syed University On Location-Live Event
Aras PLM Software Solutions
Ad

Similar to Adobe Flex体系架构深度剖析 (20)

PDF
Adobe flex at jax london 2011
PDF
RIAs with Java, Spring, Hibernate, BlazeDS, and Flex
PDF
Lcds & Blaze Ds by Corneliu Creanga
PDF
Flex Air Intro
PDF
Jax 2011 keynote
PDF
The Adobe Flash Platform
KEY
Flash platform introduction
PDF
Adobe Media server family
PDF
Microsoft Silverlight 2
PDF
Flash Platformアップデート
PDF
Jax2001 adobe keynote
PDF
Develop mobile applications with Flex
PDF
Flash Catalyst at Flex Camp Orange County
PDF
Adobe Flash platform の法人利用
KEY
Adobe Flex: Creating Widgets for the Desktop and Web
PDF
Breizh camp adobe flex et les mobiles
PDF
air
PDF
Jax2010 adobe lcds
PDF
Ajax World 08 Silverlight2 Overview
PDF
Eva flex java_1_slides
Adobe flex at jax london 2011
RIAs with Java, Spring, Hibernate, BlazeDS, and Flex
Lcds & Blaze Ds by Corneliu Creanga
Flex Air Intro
Jax 2011 keynote
The Adobe Flash Platform
Flash platform introduction
Adobe Media server family
Microsoft Silverlight 2
Flash Platformアップデート
Jax2001 adobe keynote
Develop mobile applications with Flex
Flash Catalyst at Flex Camp Orange County
Adobe Flash platform の法人利用
Adobe Flex: Creating Widgets for the Desktop and Web
Breizh camp adobe flex et les mobiles
air
Jax2010 adobe lcds
Ajax World 08 Silverlight2 Overview
Eva flex java_1_slides
Ad

More from George Ang (20)

PDF
Wrapper induction construct wrappers automatically to extract information f...
PDF
Opinion mining and summarization
PPT
Huffman coding
PPT
Do not crawl in the dust 
different ur ls similar text
PPT
大规模数据处理的那些事儿
PPT
腾讯大讲堂02 休闲游戏发展的文化趋势
PPT
腾讯大讲堂03 qq邮箱成长历程
PPT
腾讯大讲堂04 im qq
PPT
腾讯大讲堂05 面向对象应对之道
PPT
腾讯大讲堂06 qq邮箱性能优化
PPT
腾讯大讲堂07 qq空间
PPT
腾讯大讲堂08 可扩展web架构探讨
PPT
腾讯大讲堂09 如何建设高性能网站
PPT
腾讯大讲堂01 移动qq产品发展历程
PPT
腾讯大讲堂10 customer engagement
PPT
腾讯大讲堂11 拍拍ce工作经验分享
PPT
腾讯大讲堂14 qq直播(qq live) 介绍
PPT
腾讯大讲堂15 市场研究及数据分析理念及方法概要介绍
PPTX
腾讯大讲堂15 市场研究及数据分析理念及方法概要介绍
PPT
腾讯大讲堂16 产品经理工作心得分享
Wrapper induction construct wrappers automatically to extract information f...
Opinion mining and summarization
Huffman coding
Do not crawl in the dust 
different ur ls similar text
大规模数据处理的那些事儿
腾讯大讲堂02 休闲游戏发展的文化趋势
腾讯大讲堂03 qq邮箱成长历程
腾讯大讲堂04 im qq
腾讯大讲堂05 面向对象应对之道
腾讯大讲堂06 qq邮箱性能优化
腾讯大讲堂07 qq空间
腾讯大讲堂08 可扩展web架构探讨
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂01 移动qq产品发展历程
腾讯大讲堂10 customer engagement
腾讯大讲堂11 拍拍ce工作经验分享
腾讯大讲堂14 qq直播(qq live) 介绍
腾讯大讲堂15 市场研究及数据分析理念及方法概要介绍
腾讯大讲堂15 市场研究及数据分析理念及方法概要介绍
腾讯大讲堂16 产品经理工作心得分享

Recently uploaded (20)

PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Approach and Philosophy of On baking technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
cuic standard and advanced reporting.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
MYSQL Presentation for SQL database connectivity
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Modernizing your data center with Dell and AMD
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Cloud computing and distributed systems.
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Review of recent advances in non-invasive hemoglobin estimation
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
20250228 LYD VKU AI Blended-Learning.pptx
Approach and Philosophy of On baking technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
cuic standard and advanced reporting.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Unlocking AI with Model Context Protocol (MCP)
MYSQL Presentation for SQL database connectivity
NewMind AI Weekly Chronicles - August'25 Week I
Modernizing your data center with Dell and AMD
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Cloud computing and distributed systems.
NewMind AI Monthly Chronicles - July 2025
GamePlan Trading System Review: Professional Trader's Honest Take
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Review of recent advances in non-invasive hemoglobin estimation
The AUB Centre for AI in Media Proposal.docx
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf

Adobe Flex体系架构深度剖析

  • 1. Flex 构 zma@adobe.com Platform Technology Evangelist Blog: www.7yue.com 2006 Adobe Systems Incorporated. All Rights Reserved.
  • 2. / 1960s & 1970s 1980s & 1990s 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 3. Web/App / Middleware 1960s & 1970s 1980s & 1990s 1990s & 2000s 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 4. Web Services & RIA App Connectors Web Web/App SOA / 1960s & 1970s 1980s & 1990s 1990s & 2000s 2000s & Future 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 5. Flash Platform & Flex 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 6. Adobe Flash Adobe Adobe Flash Flash® Player Media Server family Adobe Flash Adobe Flash Adobe Flex CS4 Professional Catalyst Builder Adobe Flex® Data Services Adobe AIR™ 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 7. RIA Adobe Design & Applications Third-party Adobe Development Tools Client Frameworks Flex Framework Third-party Application Creative Tier Suite Browsers Flash Reader Devices Flash Reader Player Lite LE AIR Flash PDF HTML Flex Builder HTTP/S, Sockets, AMF, RTMP, LiveCycle SOAP, WS*, REST, … Designer Remote Domains Local Domain Eclipse Adobe Other Application Servers Flash Flash Web Web Services Services Media Cast Service LiveCycle ColdFusion Server Tier Flickr.com HTTP Other eBay API Service Services Notepad Yahoo! API Google API ECM Message Other Printing & Resource Tier EIS Databases Directories Repository Queues Systems Scanning 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 8. Flex UI + SOA = SOC Front End Client Tier SOC •  , Applets, •  •  SOA •  •  / •  •  ASP, JSP, Servlets, Services Oriented Client UI •  •  •  •  Back End •  •  •  SOA / ESA •  •  •  2008 Adobe Systems Incorporated. All Rights Reserved.
  • 9. Flex 构划 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 10. Adobe Flex Adobe® Flex™ 3 SDK Open source Flex SDK MXML and ActionScript 3.0 Command-line 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 11. Flex 3 Open Source  Flex 3开   SDK MPL framework, compiler, debugger   bug JIRA   opensource.adobe.com/ ex     Free Adobe Flex SDK   Open Flex SDK   Flex UI Component   AIR SDK   Open Flex SDK   Compiler+Frameworks   Flex SDK add-ons for Open Flex SDK   UI Component   AIR SDK 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 12. Flex - MXML <mx:Application> <mx:WebService id=“ws” wsdl=“catalog.wsdl”/> <mx:Button label=“Get Data” click=“ws.getProducts()”/> <mx:DataGrid dataProvider=“{ws.getProducts.result}”/> <mx:LineChart dataProvider=“{ws.getProducts.result}”/> </mx:Application> 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 13. MXML – <mx:Application> <mx:WebService id=“ws” wsdl=“catalog.wsdl”/> <mx:Button label=“Get Data” click=“ws.getProducts()”/> <mx:DataGrid dataProvider=“{ws.getProducts.result}”/> <mx:LineChart dataProvider=“{ws.getProducts.result}”/> </mx:Application> 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 14. MXML – <mx:Application> <mx:WebService id=“ws” wsdl=“catalog.wsdl”/> <mx:Button label=“Get Data” click=“ws.getProducts()”/> <mx:DataGrid dataProvider=“{ws.getProducts.result}”/> <mx:LineChart dataProvider=“{ws.getProducts.result}”/> </mx:Application> 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 15. MXML – <mx:Application> <mx:WebService id=“ws” wsdl=“catalog.wsdl”/> <mx:Button label=“Get Data” click=“ws.getProducts()”/> <mx:DataGrid dataProvider=“{ws.getProducts.result}”/> <mx:LineChart dataProvider=“{ws.getProducts.result}”/> </mx:Application> 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 16. MXML – <mx:Application> <mx:WebService id=“ws” wsdl=“catalog.wsdl”/> <mx:Button label=“Get Data” click=“ws.getProducts()”/> <mx:DataGrid dataProvider=“{ws.getProducts.result}”/> <mx:LineChart dataProvider=“{ws.getProducts.result}”/> </mx:Application> 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 17. MXML – <mx:Application> <mx:WebService id=“ws” wsdl=“catalog.wsdl”/> <mx:Button label=“Get Data” click=“ws.getProducts()”/> <mx:DataGrid dataProvider=“{ws.getProducts.result}”/> <mx:LineChart dataProvider=“{ws.getProducts.result}”/> </mx:Application> 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 18. Flex - AVM2 Flash Player 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 19. Flash Player 2   Retained   AS3 Retained Mode   Adobe   GPU Cell   video,audio   Surfaces   BitmapData,Filters,cacheAsBitmap   Bitmap       2008 Adobe Systems Incorporated. All Rights Reserved.
  • 20. Flash Player 2   Immediate               Pixel Bender Immediate   GPU Immediate   Immediate   Bitmap lls Retained   AS3 Retained   Binary Retained 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 21. Flash Player   2008 Adobe Systems Incorporated. All Rights Reserved.
  • 22.   AS3 Execution Model         UI     Video HD Vide   AS3     Flash Player 10 AS3 Runtime Execution   Socket     Pixel Bender Shaders AVM   Green Thread Thread Library   http://www.libspark.org/htdocs/as3/thread- les/document/     FP11 12 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 23. Flex – 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 24. Flex – MXML 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 25. Flex     Application + Label构 HelloWorld   Binary Size   FlashCS4 Binary Size:   116KB   AS3+Compiler:   8KB 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 26. Flex frameworks             Binary Code Size (     Flash             UI Forms UI interaction               2008 Adobe Systems Incorporated. All Rights Reserved.
  • 27. Flex Flex SDK MXML ActionScript Flash Player Flex Debuggers SOAP HTTP/S AMF/S RTMP/S Flex Builder IDE Web XML/HTTP LC Data Services REST SOAP Web Services J2EE Application Server 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 28. Flex 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 29. Flex - SAP example 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 30. Flex 4) design tweaks esign itial d 2) in Developer ttes +v igne m ps 1) co Design Production (Flash Catalyst) Visual Designer 3) development 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 31. - Flash Catalyst 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 32. UI 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 33. Demo 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 34. Flex – BlazeDS 构 LiveCycle Data Services ES BlazeDS BlazeDS Adobe LGPL v3 Data Management Service Adapters HTTP Data Synchronization LiveCycle Flash/Flex Remtoing Off-line Applications Data Paging SQL RPC Services •  Web Service Hibernate •  Flex UI HTTP Service ColdFusion Remote Object Service •  JMS Messaging •  HTTP Publish & Subscribe Java •  / Collaboration Custom… •  Action Message Format (AMF3) 2 Real Time Data Push Proxy Service Web-tier Compiler Portal Deployment RIA-PDF Generation 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 35. BlazeDS 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 36. BlazeDS 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 37. Flex with Java via XML (RESTful / SOAP) App Server Web Service XML (RESTful / SOAP) 2007 Adobe Systems Incorporated. All Rights Reserved.
  • 38. Flex with Java via Flash Remoting J2EE Server BlazeDS POJO Endpoint Spring Bean AMF EJB Other 2007 Adobe Systems Incorporated. All Rights Reserved.
  • 39. Flex with Java via BlazeDS Messaging J2EE Server BlazeDS Messaging Adapter X System X Message JMS Endpoint JMS Adapter Service Provider Messaging Adapter Y System Y RTMP AMF HTTP Publisher Subscriber 2007 Adobe Systems Incorporated. All Rights Reserved.
  • 40. RIA Census Project: http://www.jamesward.com/census/ http:// exapps.cvs.sourceforge.net/ exapps/census/ 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 41. BlazeDS – AMF3 5000 Flex AMF3 No.1 1.6s  Ajax HTML>Ajax XML>Laszlo XML>Flex XML AS>Flex XML E4X>Ajax JSON>Dojo>Ajax SOAP>Flex SOAP AS>Flex SOAP E4X>Flex AMF3(0.2s)  Laszlo XML>Flex SOAP AS>Flex SOAP E4X>Ajax SOAP>Flex XML AS>Flex XML E4X>Ajax HTML>Ajax JSON>Flex AMF3(0.9s)>Ajax XML>Dojo  Flex SOAP AS>Ajax SOAP>Ajax XML>Laszlo XML>Flex XML AS>Ajax JSON>Flex SOAP E4X>Flex XML E4X>Dojo>Flex AMF3(0.1s)>Ajax HTML  Dojo>Ajax HTML>Ajax SOAP>Ajax XML>Ajax JSON>Laszlo XML>Flex SOAP E4X>Flex SOAP AS>Flex XML E4X>Flex AMF3(0.4s)>Flex XML AS 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 42. Flex   Flex   Cairngorm (Adobe Open Source) - MVC framework   PureMVC (Open Source) - MVC framework   Mate (Open Source) - tag-based, event-driven   Swiz (Open Source) - Metadata-based Dependency Injection   Spring ActionScript (Open Source) – IOC Framework     http://www.infoq.com/news/2008/01/ ex-mvc     framework 适 framework   Flex Flex 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 43. Flex - Cairngorm   http://opensource.adobe.com/wiki/   display/cairngorm/       Java   Flex   Flex   micro-architecture design   patterns   Java       UI   Flex   Cairngorm Flex     ModleLocator   ServiceLocator     FrontController 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 44. Flex - PureMVC   http://puremvc.org/             Flex     MVC     Model,View,Controller     Façade   Flex MXML public   PureMVC Flex     Cairngorm   packages     Façade 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 45. Flex - Mate   http://mate.asfusion.com/             MXML   agents     Flex     “ ”     Mate Flex   众       MXML event map   MXML   event map mxml   适 AS   event map       LiveCycle DataServices 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 46. Flex - Swiz   http://code.google.com/p/   swizframework/         IoC DI   metadata IoC DI     Flex     Java     Mate   Swiz Flex   Swiz       metatag Autowire 2008 Adobe Systems Incorporated. All Rights Reserved.
  • 47. Flex – Spring ActionScript   http://www.pranaframework.org/       Cairngorm   as3 IoC   PureMVC   Flex   services-con g.xml messaging-   Cairngorm PureMVC con g.xml   MVC     Java Spring     BlazeDS remoting   messaging     Spring AS Flex     XML   Logging   Spring AS logging     method-invocation MethodInvokingFactory   2008 Adobe Systems Incorporated. All Rights Reserved.
  • 48. Where to go next?   www.adobe.com/devnet   www. ex.org   www.adobe.com/opensource   www.insideRIA.com   www.actionscript3.cn   www.riameeting.cn   www.infoq.com/cn 2008 Adobe Systems Incorporated. All Rights Reserved. 4 8
  • 49. 2008 Adobe Systems Incorporated. All Rights Reserved.