SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Downloaden Sie, um offline zu lesen
1



PureMVC
Hands-On Creating “Your First Project”


            Samuel Asher Rivello
            Principal, RivelloMultimediaConsulting.com (RMC)
            Certified Designer & Developer (Adobe Flash)




2007 Adobe Systems Incorporated. All Rights Reserved.
PureMVC: Introduction                                                                                                                               2
                                                           Speaker
                                                           Samuel Asher Rivello is the principal of RivelloMultimediaConsulting.com (RMC), a Los Angeles
                                                           area multimedia consulting company. RMC services include software architecture, consulting,
                                                           development, and training. Sam has designed, developed and/or managed development of
                                                           400+ Flash and Shockwave games and applications for Fortune 1000 companies.

                                                           Sam has a decade of experience with the Flash Platform. He is an Adobe Certi ed Designer and
                                                           Developer for Flash, an Adobe Flex Champion, an international public speaker, and a university
                                                           professor. His writing and programming have appeared in leading publications including
                                                           Adobe’s EDGE Magazine and Adobe’s Developer Center (ADC) . In recent years his focus has
                                                           shifted from Flash game development to Flex application development.

                                                           Agenda
                                                           A Microarchitecturs is a group of design patterns prepared to work together in concert.
                                                           PureMVC represents a leading alternative to the well-known Cairngorm framework. PureMVC is
                                                           a light framework for creating applications based on the class Model-View-Controller meta
                                                           designpattern. It has a very narrow goal, to provide design patterns AND development patterns
                                                           to help you separate your programming into three distinct areas; data, user interface, and the
                                                           application logic. It is approachable and powerful with minimal tedium and repetition in
                                                           development.

                                                           In this beginner session we’ll see how to setup your rst PureMVC based on a proven project
                                                           template.

                                                           Audience
                                                           Intermediate to advanced Adobe Flash CS4 and Adobe Flex 3 developers with equivalent
                                                           ActionScript 3.0 knowledge

                                                           Take-Away                                                                                        2
                                                                                                                                                            v15
                                                           All source code and documentation will be available to attendees.




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Frameworks - What & Why                                                             3

What is a framework?
         • A framework is a collaborating set of ‘design patterns’ (proven solutions to common
         problems) which assists application development
         • Utilizes ‘development patterns’ (easy to follow steps for completing a programming
         task)


Why use a framework?
   • Provides conventions that, once learned, enable you to build complex applications
   faster
   • Promotes maintainability and extensibility
         • Helps team development
         • Promotes code reuse
         • Speeds up ramp-up time for experienced Object-Oriented developer to join project




 2007 Adobe Systems Incorporated. All Rights Reserved.
PureMVC: Overview                                      4

    Section 1: What is PureMVC?
               • Overview

               • Implementation

    Section 2: PureMVC Applied
               • Adding PureMVC to your project

               • Using my PureMVCTemplate

               • Building “Your First Project”

    Section 3: Next Steps, QA, & Conclusion
               • 10 Tips for PureMVC

               • Comparison to other frameworks

               • References & Links



                                                           4
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC                                                                    5

    PureMVC is based on MVC
               • What: The separation of application coding interests into 3
               tiers: Model, View and Controller
               • Why: Eliminates the most harmful responsibility misplacement
               issues that hamper scalability and maintainability




                                                                               5
                                                                               v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Goals                                                              6


               • Simple but appropriate framework scope

               • Reduce confusion over application layers as well as class roles,
               responsibilities, and collaborations
               • Balance speedy implementation with scalability and
               maintainability
               • Avoid dependencies – entirely language-based; no Flex, Flash,
               or AIR packages used
               • Hide complexities from the developer


                                                                                    6
                                                                                    v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Benefits 1/2                                                                                                      7

               • Loosely-Coupled Architecture
                          • Publish/Subscribe observer noti   cation

                          • Promotes portability and reuse of boundary components (Model/View)


               • Programmed to Interfaces
                          • Supports extensibility via sub-classing or interface implementation


               • Useful Base Implementation Classes
                          • Out-of-box functionality requires very little sub-classing, or even direct interaction with core
                          framework actors




                                                                                                                               7
                                                                                                                               v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Benefits 2/2                                                                                                               8

               • Built on Proven Design Patterns
                          • All Patterns described in the classic ‘Gang of Four’ book, Design Patterns – Elements of Reusable Object
                          Oriented Software
                          • Major patterns used;

                                      • Command Pattern – Encapsulate functionality in a class for later use/reuse

                                      • Façade Pattern – Centralize and simplify interface to more complex code

                                      • Mediator Pattern – Create a go-between class to assist communication of two or more other classes

                                      • Observer Pattern – Decouple class communication by using publish/subscribe setup

                                      • Proxy Pattern – Wrapping a protected class with a proxy class to shepherd API




                                                                                                                                            8
                                                                                                                                            v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Diagram                                       9




                                                           9
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Diagram – ‘Inside’ of PureMVC                 10




                                                           10
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Diagram – ‘Outside’ of PureMVC                11




                                                           11
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: The ‘Actors’                                  12




                                                           12
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: The ‘Actors’                                                               13




    Façade
               • Any Proxy, Mediator, or Command can access it

               • Has most commonly used Model, View, and Controller methods

               • Hides Model, View, and Controller classes; no need to import or work
               directly with the actors                                                 13
                                                                                        v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: The ‘Actors’                                  14




                                                           14
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: The ‘Actors’                                                                      15


                                                           Mediators and View Components
                                                             • View Components are any UI
                                                             components; such as DataGrids,
                                                             Buttons, or Custom Components
                                                             • Mediators steward View
                                                             Components, listening for their
                                                             Events, inspecting and setting their
                                                             properties
                                                             • Mediators interact with system on
                                                             behalf of the View Component


                                                                                                    15
                                                                                                    v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: The ‘Actors’                                  16




                                                           16
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: The ‘Actors’                                  17


    Proxies & Data Objects
               • Data Objects can be simple data
               holders, such as the common VO
               (Value Object)
               • Proxies control access to Data
               Objects
               • Proxies may interact with remote
               services
               • … or Delegate pattern may be used
               with Proxies

                                                           17
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: The ‘Actors’                                  18




                                                           18
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: The ‘Actors’                                               19




    Controller
               • Commands house the business logic of the application

               • Coordinate complex activities                          19
                                                                        v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: ‘Actors’                                      20




                                                           20
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Notifications                                                        21


               • Work in conjunction with, no in place of Events

               • Proxies

                          • May broadcast, but do not listen for Noti   cations
               • Mediators

                          • Listen for and may broadcast Noti   cations
               • Commands

                          • Triggered by and may broadcast Noti    cations


                                                                                  21
                                                                                  v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Implementation                                                                               22


               • Extend Façade, creating a Concrete Façade
                          • Typically called ApplicationFacade, can be called anything

                          • Initialize Controller with Noti   cation names, since all actors communicate via
                          your concrete Façade




                                                                                                               22
                                                                                                               v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Implementation                                                                                           23

               • Write Data Objects (any data-holding object)
                          • Enums, Collections, Value, or Transfer Objects, XML, etc…

                          • Should not have any ‘knowledge’ of PureMVC or Proxy

               • Write Proxies
                          • Holds reference to a Data Object

                          • Exposes an API for accessing the Data Object

                          • May communicate with remote services to save or retrieve data

                          • If more than one Proxy uses same service, refactor service logic into Delegate
                          pattern
                          • Sends Noti                     cations to communicate with the application when data is
                          received
                          • Handles Domain Logic, keeping Model data valid                                            23
                                                                                                                      v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Implementation                                                                                        24


               • Write Commands
                          • Handle Business Logic, ensuring that use-cases of the system are executed
                          properly
                          • May create and register Proxies and Mediators

                          • May retrieve and act upon Proxies

                          • May send Noti                  cations to be responded to by Mediators
                          • May trigger or execute other Commands

                          • Will be executed by Controller when mapped Noti                  cation is broadcast




                                                                                                                   24
                                                                                                                   v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Implementation                                   25


               • Simple but intuitive package structure for
               application; separation of MVC
               • ApplicationFacade is sibling to model,
               view, and controller folders
               • Within model, view, or controller
               folders, you may add more folders
               • model folder may have folders;

                          • Enum

                          • vo

                          • delegate or service

               • mediator folder typically has folder;

                          • components




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Implementation                                           26
               • Class Naming Conventions (Not Requirements)
                          • Model
                                      • Sample1Proxy
                                      • Sample1VO
                                      • Sample1Delegate
                                      • Sample3NVO
                          • View
                                      • Sample2UI
                                      • Sample2UIMediator
                          • Controller
                                      • SAMPLE_3 (Noti
                                                 cation)
                               • Sample3Command
                          • Misc…
                               • Follow your own standards or…
                               • RMC’s AS3/MXML Standards Available




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Sample Application                                                                 27

    Hello Google Sample App
               • Silly, but simple & complete example using PureMVC

               • The user clicks a Button which populates a TextField with text from Google’s
               homepage




                                       TextField



                                              Button


                                                                                                27
                                                                                                v15




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Recap                                                       28

    Hello Google Sample App
               • Entire Interaction from UI Button
               click to server call/response to
               update UI TextField summarized in
               these two diagrams
               • Looks complex, right?



                                                           4


          9                  8

         1                   2




                                                               5,7
                                                                     7

                                                   3


                                                                6




2009 Rivello Multimedia Consulting. All Rights Reserved.
PureMVC: Sample Application                            29

    Hello Google Sample App
               • Let’s View the Demo!




                                                           29
                                                           v15




2009 Rivello Multimedia Consulting. All Rights Reserved.

Weitere ähnliche Inhalte

Was ist angesagt?

Meucci OWASP Pci Milan 09
Meucci OWASP Pci Milan 09Meucci OWASP Pci Milan 09
Meucci OWASP Pci Milan 09Matteo Meucci
 
Mq light For Guide Share Europe 2014
Mq light For Guide Share Europe 2014Mq light For Guide Share Europe 2014
Mq light For Guide Share Europe 2014Robert Nicholson
 
K soft corporate
K soft corporateK soft corporate
K soft corporateredifined
 
Scopia Management Solutions
Scopia Management SolutionsScopia Management Solutions
Scopia Management SolutionsMotty Ben Atia
 
Ria Event Lisbon Jan 2010
Ria Event Lisbon Jan 2010Ria Event Lisbon Jan 2010
Ria Event Lisbon Jan 2010joaogoncalves
 
12 2 panel_bechauf
12 2 panel_bechauf12 2 panel_bechauf
12 2 panel_bechaufmitusap
 
Modeling for Fun and Profit
Modeling for Fun and ProfitModeling for Fun and Profit
Modeling for Fun and ProfitDavid Sciamma
 
Framework Engineering 2.1
Framework Engineering 2.1Framework Engineering 2.1
Framework Engineering 2.1YoungSu Son
 

Was ist angesagt? (8)

Meucci OWASP Pci Milan 09
Meucci OWASP Pci Milan 09Meucci OWASP Pci Milan 09
Meucci OWASP Pci Milan 09
 
Mq light For Guide Share Europe 2014
Mq light For Guide Share Europe 2014Mq light For Guide Share Europe 2014
Mq light For Guide Share Europe 2014
 
K soft corporate
K soft corporateK soft corporate
K soft corporate
 
Scopia Management Solutions
Scopia Management SolutionsScopia Management Solutions
Scopia Management Solutions
 
Ria Event Lisbon Jan 2010
Ria Event Lisbon Jan 2010Ria Event Lisbon Jan 2010
Ria Event Lisbon Jan 2010
 
12 2 panel_bechauf
12 2 panel_bechauf12 2 panel_bechauf
12 2 panel_bechauf
 
Modeling for Fun and Profit
Modeling for Fun and ProfitModeling for Fun and Profit
Modeling for Fun and Profit
 
Framework Engineering 2.1
Framework Engineering 2.1Framework Engineering 2.1
Framework Engineering 2.1
 

Ähnlich wie Samuel Asher Rivello - PureMVC Hands On Part 1

Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2360|Conferences
 
Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Kurt Liu
 
Cairo Graphics Kit
Cairo Graphics KitCairo Graphics Kit
Cairo Graphics KitESUG
 
The DevOps paradigm - the evolution of IT professionals and opensource toolkit
The DevOps paradigm - the evolution of IT professionals and opensource toolkitThe DevOps paradigm - the evolution of IT professionals and opensource toolkit
The DevOps paradigm - the evolution of IT professionals and opensource toolkitMarco Ferrigno
 
The DevOps Paradigm
The DevOps ParadigmThe DevOps Paradigm
The DevOps ParadigmNaLUG
 
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe DevelopmentEclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe DevelopmentDevOps.com
 
Simulating vision impairments for Java/Swing developers using the NetBeans IDE
Simulating vision impairments for Java/Swing developers using the NetBeans IDESimulating vision impairments for Java/Swing developers using the NetBeans IDE
Simulating vision impairments for Java/Swing developers using the NetBeans IDEAEGIS-ACCESSIBLE Projects
 
COMPRO- WEB ALBUM & MOTION ANALYZER
COMPRO- WEB ALBUM  & MOTION ANALYZERCOMPRO- WEB ALBUM  & MOTION ANALYZER
COMPRO- WEB ALBUM & MOTION ANALYZERAshish Tanwer
 
Delivering Applications Continuously to Cloud
Delivering Applications Continuously to CloudDelivering Applications Continuously to Cloud
Delivering Applications Continuously to CloudIBM UrbanCode Products
 
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform Excellence
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform ExcellenceMainframe as a Service: Sample a Buffet of IBM z/OS® Platform Excellence
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform ExcellenceCA Technologies
 
Application Experience Analytics Services: The Strategic Digital Transformati...
Application Experience Analytics Services: The Strategic Digital Transformati...Application Experience Analytics Services: The Strategic Digital Transformati...
Application Experience Analytics Services: The Strategic Digital Transformati...CA Technologies
 
Why we don’t use the Term DevOps: the Journey to a Product Mindset - DevOpsCo...
Why we don’t use the Term DevOps: the Journey to a Product Mindset - DevOpsCo...Why we don’t use the Term DevOps: the Journey to a Product Mindset - DevOpsCo...
Why we don’t use the Term DevOps: the Journey to a Product Mindset - DevOpsCo...Henning Jacobs
 
Startups: Streit, Scaleup - introduction and product demo
Startups: Streit, Scaleup - introduction and product demoStartups: Streit, Scaleup - introduction and product demo
Startups: Streit, Scaleup - introduction and product demoCloudOps Summit
 
Choosing the Right HTML5 Framework to Build your Mobile Web Application White...
Choosing the Right HTML5 Framework to Build your Mobile Web Application White...Choosing the Right HTML5 Framework to Build your Mobile Web Application White...
Choosing the Right HTML5 Framework to Build your Mobile Web Application White...RapidValue
 
Open Stack Cloud Services
Open Stack Cloud ServicesOpen Stack Cloud Services
Open Stack Cloud ServicesSaurabh Gupta
 
More than Technology - The Culture of DevOps
More than Technology - The Culture of DevOpsMore than Technology - The Culture of DevOps
More than Technology - The Culture of DevOpsBob Sokol
 

Ähnlich wie Samuel Asher Rivello - PureMVC Hands On Part 1 (20)

Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2
 
Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1
 
Cairo Graphics Kit
Cairo Graphics KitCairo Graphics Kit
Cairo Graphics Kit
 
The DevOps paradigm - the evolution of IT professionals and opensource toolkit
The DevOps paradigm - the evolution of IT professionals and opensource toolkitThe DevOps paradigm - the evolution of IT professionals and opensource toolkit
The DevOps paradigm - the evolution of IT professionals and opensource toolkit
 
The DevOps Paradigm
The DevOps ParadigmThe DevOps Paradigm
The DevOps Paradigm
 
Silverlight
SilverlightSilverlight
Silverlight
 
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe DevelopmentEclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
 
Simulating vision impairments for Java/Swing developers using the NetBeans IDE
Simulating vision impairments for Java/Swing developers using the NetBeans IDESimulating vision impairments for Java/Swing developers using the NetBeans IDE
Simulating vision impairments for Java/Swing developers using the NetBeans IDE
 
COMPRO- WEB ALBUM & MOTION ANALYZER
COMPRO- WEB ALBUM  & MOTION ANALYZERCOMPRO- WEB ALBUM  & MOTION ANALYZER
COMPRO- WEB ALBUM & MOTION ANALYZER
 
resume-michael-garvin
resume-michael-garvinresume-michael-garvin
resume-michael-garvin
 
Delivering Applications Continuously to Cloud
Delivering Applications Continuously to CloudDelivering Applications Continuously to Cloud
Delivering Applications Continuously to Cloud
 
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform Excellence
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform ExcellenceMainframe as a Service: Sample a Buffet of IBM z/OS® Platform Excellence
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform Excellence
 
Application Experience Analytics Services: The Strategic Digital Transformati...
Application Experience Analytics Services: The Strategic Digital Transformati...Application Experience Analytics Services: The Strategic Digital Transformati...
Application Experience Analytics Services: The Strategic Digital Transformati...
 
VijayresumeIBM
VijayresumeIBMVijayresumeIBM
VijayresumeIBM
 
Why we don’t use the Term DevOps: the Journey to a Product Mindset - DevOpsCo...
Why we don’t use the Term DevOps: the Journey to a Product Mindset - DevOpsCo...Why we don’t use the Term DevOps: the Journey to a Product Mindset - DevOpsCo...
Why we don’t use the Term DevOps: the Journey to a Product Mindset - DevOpsCo...
 
Startups: Streit, Scaleup - introduction and product demo
Startups: Streit, Scaleup - introduction and product demoStartups: Streit, Scaleup - introduction and product demo
Startups: Streit, Scaleup - introduction and product demo
 
Choosing the Right HTML5 Framework to Build your Mobile Web Application White...
Choosing the Right HTML5 Framework to Build your Mobile Web Application White...Choosing the Right HTML5 Framework to Build your Mobile Web Application White...
Choosing the Right HTML5 Framework to Build your Mobile Web Application White...
 
Open Stack Cloud Services
Open Stack Cloud ServicesOpen Stack Cloud Services
Open Stack Cloud Services
 
More than Technology - The Culture of DevOps
More than Technology - The Culture of DevOpsMore than Technology - The Culture of DevOps
More than Technology - The Culture of DevOps
 
Appnovation Intro Deck
Appnovation Intro DeckAppnovation Intro Deck
Appnovation Intro Deck
 

Mehr von 360|Conferences

Metaio Mobile Augmented Reality
Metaio Mobile Augmented RealityMetaio Mobile Augmented Reality
Metaio Mobile Augmented Reality360|Conferences
 
Mobile Apps- Business Toolkit for the Manager
Mobile Apps- Business Toolkit for the ManagerMobile Apps- Business Toolkit for the Manager
Mobile Apps- Business Toolkit for the Manager360|Conferences
 
Making Real Money with Mobile Apps
Making Real Money with Mobile AppsMaking Real Money with Mobile Apps
Making Real Money with Mobile Apps360|Conferences
 
Inside Mobile Widgets Publish
Inside Mobile Widgets PublishInside Mobile Widgets Publish
Inside Mobile Widgets Publish360|Conferences
 
Ignite Denver 4 Master Deck
Ignite Denver 4 Master DeckIgnite Denver 4 Master Deck
Ignite Denver 4 Master Deck360|Conferences
 
Oğuz Demirkapı - Hands On Training: Creating Our First i18N Flex Application ...
Oğuz	Demirkapı - Hands On Training: Creating Our First i18N Flex Application ...Oğuz	Demirkapı - Hands On Training: Creating Our First i18N Flex Application ...
Oğuz Demirkapı - Hands On Training: Creating Our First i18N Flex Application ...360|Conferences
 
Tyler Wright - Undo History with Flight
Tyler Wright - Undo History with FlightTyler Wright - Undo History with Flight
Tyler Wright - Undo History with Flight360|Conferences
 
Chad Udell - Developers are from Mars, Designers are from Venus
Chad Udell - Developers are from Mars, Designers are from VenusChad Udell - Developers are from Mars, Designers are from Venus
Chad Udell - Developers are from Mars, Designers are from Venus360|Conferences
 
Mansour Raad & Anthony Jayaprakash - Yet Another Mapping Framework, NOT!
Mansour Raad & Anthony Jayaprakash - Yet Another Mapping Framework, NOT!Mansour Raad & Anthony Jayaprakash - Yet Another Mapping Framework, NOT!
Mansour Raad & Anthony Jayaprakash - Yet Another Mapping Framework, NOT!360|Conferences
 
Erik Loehfelm - Experience Design with Flash Catalyst and Flex Gumbo
Erik Loehfelm - Experience Design with Flash Catalyst and Flex GumboErik Loehfelm - Experience Design with Flash Catalyst and Flex Gumbo
Erik Loehfelm - Experience Design with Flash Catalyst and Flex Gumbo360|Conferences
 
Ryan Phelan - Bending and Flexing
Ryan Phelan - Bending and FlexingRyan Phelan - Bending and Flexing
Ryan Phelan - Bending and Flexing360|Conferences
 
Giorgio Natilli - Blaze DS Connectivity Framework
Giorgio Natilli - Blaze DS Connectivity FrameworkGiorgio Natilli - Blaze DS Connectivity Framework
Giorgio Natilli - Blaze DS Connectivity Framework360|Conferences
 
Douglas Knudsen - Great Mash Up
Douglas Knudsen - Great Mash UpDouglas Knudsen - Great Mash Up
Douglas Knudsen - Great Mash Up360|Conferences
 
Wes Leonardo - Putting AIR into your Application
Wes Leonardo - Putting AIR into your ApplicationWes Leonardo - Putting AIR into your Application
Wes Leonardo - Putting AIR into your Application360|Conferences
 
Adrian Pomilio - Flex Ajax Bridge and Legacy Applications
Adrian Pomilio - Flex Ajax Bridge and Legacy ApplicationsAdrian Pomilio - Flex Ajax Bridge and Legacy Applications
Adrian Pomilio - Flex Ajax Bridge and Legacy Applications360|Conferences
 
Ryan Fishberg and Joan Lafferty - ItemsRenderers
Ryan Fishberg and Joan Lafferty - ItemsRenderersRyan Fishberg and Joan Lafferty - ItemsRenderers
Ryan Fishberg and Joan Lafferty - ItemsRenderers360|Conferences
 

Mehr von 360|Conferences (20)

InsideMobile Keynote
InsideMobile KeynoteInsideMobile Keynote
InsideMobile Keynote
 
Metaio Mobile Augmented Reality
Metaio Mobile Augmented RealityMetaio Mobile Augmented Reality
Metaio Mobile Augmented Reality
 
Web Os Hands On
Web Os Hands OnWeb Os Hands On
Web Os Hands On
 
Mobile Apps- Business Toolkit for the Manager
Mobile Apps- Business Toolkit for the ManagerMobile Apps- Business Toolkit for the Manager
Mobile Apps- Business Toolkit for the Manager
 
Making Real Money with Mobile Apps
Making Real Money with Mobile AppsMaking Real Money with Mobile Apps
Making Real Money with Mobile Apps
 
Unlocking Android
Unlocking AndroidUnlocking Android
Unlocking Android
 
Inside Mobile Widgets Publish
Inside Mobile Widgets PublishInside Mobile Widgets Publish
Inside Mobile Widgets Publish
 
You Know WebOS
You Know WebOSYou Know WebOS
You Know WebOS
 
Ignite Denver 4 Master Deck
Ignite Denver 4 Master DeckIgnite Denver 4 Master Deck
Ignite Denver 4 Master Deck
 
Oğuz Demirkapı - Hands On Training: Creating Our First i18N Flex Application ...
Oğuz	Demirkapı - Hands On Training: Creating Our First i18N Flex Application ...Oğuz	Demirkapı - Hands On Training: Creating Our First i18N Flex Application ...
Oğuz Demirkapı - Hands On Training: Creating Our First i18N Flex Application ...
 
Tyler Wright - Undo History with Flight
Tyler Wright - Undo History with FlightTyler Wright - Undo History with Flight
Tyler Wright - Undo History with Flight
 
Chad Udell - Developers are from Mars, Designers are from Venus
Chad Udell - Developers are from Mars, Designers are from VenusChad Udell - Developers are from Mars, Designers are from Venus
Chad Udell - Developers are from Mars, Designers are from Venus
 
Mansour Raad & Anthony Jayaprakash - Yet Another Mapping Framework, NOT!
Mansour Raad & Anthony Jayaprakash - Yet Another Mapping Framework, NOT!Mansour Raad & Anthony Jayaprakash - Yet Another Mapping Framework, NOT!
Mansour Raad & Anthony Jayaprakash - Yet Another Mapping Framework, NOT!
 
Erik Loehfelm - Experience Design with Flash Catalyst and Flex Gumbo
Erik Loehfelm - Experience Design with Flash Catalyst and Flex GumboErik Loehfelm - Experience Design with Flash Catalyst and Flex Gumbo
Erik Loehfelm - Experience Design with Flash Catalyst and Flex Gumbo
 
Ryan Phelan - Bending and Flexing
Ryan Phelan - Bending and FlexingRyan Phelan - Bending and Flexing
Ryan Phelan - Bending and Flexing
 
Giorgio Natilli - Blaze DS Connectivity Framework
Giorgio Natilli - Blaze DS Connectivity FrameworkGiorgio Natilli - Blaze DS Connectivity Framework
Giorgio Natilli - Blaze DS Connectivity Framework
 
Douglas Knudsen - Great Mash Up
Douglas Knudsen - Great Mash UpDouglas Knudsen - Great Mash Up
Douglas Knudsen - Great Mash Up
 
Wes Leonardo - Putting AIR into your Application
Wes Leonardo - Putting AIR into your ApplicationWes Leonardo - Putting AIR into your Application
Wes Leonardo - Putting AIR into your Application
 
Adrian Pomilio - Flex Ajax Bridge and Legacy Applications
Adrian Pomilio - Flex Ajax Bridge and Legacy ApplicationsAdrian Pomilio - Flex Ajax Bridge and Legacy Applications
Adrian Pomilio - Flex Ajax Bridge and Legacy Applications
 
Ryan Fishberg and Joan Lafferty - ItemsRenderers
Ryan Fishberg and Joan Lafferty - ItemsRenderersRyan Fishberg and Joan Lafferty - ItemsRenderers
Ryan Fishberg and Joan Lafferty - ItemsRenderers
 

Kürzlich hochgeladen

UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsSafe Software
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfJamie (Taka) Wang
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfDaniel Santiago Silva Capera
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Commit University
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Brian Pichman
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxUdaiappa Ramachandran
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPathCommunity
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 

Kürzlich hochgeladen (20)

UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 
20230104 - machine vision
20230104 - machine vision20230104 - machine vision
20230104 - machine vision
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 
201610817 - edge part1
201610817 - edge part1201610817 - edge part1
201610817 - edge part1
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptx
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation Developers
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 

Samuel Asher Rivello - PureMVC Hands On Part 1

  • 1. 1 PureMVC Hands-On Creating “Your First Project” Samuel Asher Rivello Principal, RivelloMultimediaConsulting.com (RMC) Certified Designer & Developer (Adobe Flash) 2007 Adobe Systems Incorporated. All Rights Reserved.
  • 2. PureMVC: Introduction 2 Speaker Samuel Asher Rivello is the principal of RivelloMultimediaConsulting.com (RMC), a Los Angeles area multimedia consulting company. RMC services include software architecture, consulting, development, and training. Sam has designed, developed and/or managed development of 400+ Flash and Shockwave games and applications for Fortune 1000 companies. Sam has a decade of experience with the Flash Platform. He is an Adobe Certi ed Designer and Developer for Flash, an Adobe Flex Champion, an international public speaker, and a university professor. His writing and programming have appeared in leading publications including Adobe’s EDGE Magazine and Adobe’s Developer Center (ADC) . In recent years his focus has shifted from Flash game development to Flex application development. Agenda A Microarchitecturs is a group of design patterns prepared to work together in concert. PureMVC represents a leading alternative to the well-known Cairngorm framework. PureMVC is a light framework for creating applications based on the class Model-View-Controller meta designpattern. It has a very narrow goal, to provide design patterns AND development patterns to help you separate your programming into three distinct areas; data, user interface, and the application logic. It is approachable and powerful with minimal tedium and repetition in development. In this beginner session we’ll see how to setup your rst PureMVC based on a proven project template. Audience Intermediate to advanced Adobe Flash CS4 and Adobe Flex 3 developers with equivalent ActionScript 3.0 knowledge Take-Away 2 v15 All source code and documentation will be available to attendees. 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 3. PureMVC: Frameworks - What & Why 3 What is a framework? • A framework is a collaborating set of ‘design patterns’ (proven solutions to common problems) which assists application development • Utilizes ‘development patterns’ (easy to follow steps for completing a programming task) Why use a framework? • Provides conventions that, once learned, enable you to build complex applications faster • Promotes maintainability and extensibility • Helps team development • Promotes code reuse • Speeds up ramp-up time for experienced Object-Oriented developer to join project 2007 Adobe Systems Incorporated. All Rights Reserved.
  • 4. PureMVC: Overview 4 Section 1: What is PureMVC? • Overview • Implementation Section 2: PureMVC Applied • Adding PureMVC to your project • Using my PureMVCTemplate • Building “Your First Project” Section 3: Next Steps, QA, & Conclusion • 10 Tips for PureMVC • Comparison to other frameworks • References & Links 4 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 5. PureMVC 5 PureMVC is based on MVC • What: The separation of application coding interests into 3 tiers: Model, View and Controller • Why: Eliminates the most harmful responsibility misplacement issues that hamper scalability and maintainability 5 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 6. PureMVC: Goals 6 • Simple but appropriate framework scope • Reduce confusion over application layers as well as class roles, responsibilities, and collaborations • Balance speedy implementation with scalability and maintainability • Avoid dependencies – entirely language-based; no Flex, Flash, or AIR packages used • Hide complexities from the developer 6 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 7. PureMVC: Benefits 1/2 7 • Loosely-Coupled Architecture • Publish/Subscribe observer noti cation • Promotes portability and reuse of boundary components (Model/View) • Programmed to Interfaces • Supports extensibility via sub-classing or interface implementation • Useful Base Implementation Classes • Out-of-box functionality requires very little sub-classing, or even direct interaction with core framework actors 7 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 8. PureMVC: Benefits 2/2 8 • Built on Proven Design Patterns • All Patterns described in the classic ‘Gang of Four’ book, Design Patterns – Elements of Reusable Object Oriented Software • Major patterns used; • Command Pattern – Encapsulate functionality in a class for later use/reuse • Façade Pattern – Centralize and simplify interface to more complex code • Mediator Pattern – Create a go-between class to assist communication of two or more other classes • Observer Pattern – Decouple class communication by using publish/subscribe setup • Proxy Pattern – Wrapping a protected class with a proxy class to shepherd API 8 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 9. PureMVC: Diagram 9 9 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 10. PureMVC: Diagram – ‘Inside’ of PureMVC 10 10 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 11. PureMVC: Diagram – ‘Outside’ of PureMVC 11 11 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 12. PureMVC: The ‘Actors’ 12 12 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 13. PureMVC: The ‘Actors’ 13 Façade • Any Proxy, Mediator, or Command can access it • Has most commonly used Model, View, and Controller methods • Hides Model, View, and Controller classes; no need to import or work directly with the actors 13 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 14. PureMVC: The ‘Actors’ 14 14 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 15. PureMVC: The ‘Actors’ 15 Mediators and View Components • View Components are any UI components; such as DataGrids, Buttons, or Custom Components • Mediators steward View Components, listening for their Events, inspecting and setting their properties • Mediators interact with system on behalf of the View Component 15 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 16. PureMVC: The ‘Actors’ 16 16 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 17. PureMVC: The ‘Actors’ 17 Proxies & Data Objects • Data Objects can be simple data holders, such as the common VO (Value Object) • Proxies control access to Data Objects • Proxies may interact with remote services • … or Delegate pattern may be used with Proxies 17 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 18. PureMVC: The ‘Actors’ 18 18 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 19. PureMVC: The ‘Actors’ 19 Controller • Commands house the business logic of the application • Coordinate complex activities 19 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 20. PureMVC: ‘Actors’ 20 20 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 21. PureMVC: Notifications 21 • Work in conjunction with, no in place of Events • Proxies • May broadcast, but do not listen for Noti cations • Mediators • Listen for and may broadcast Noti cations • Commands • Triggered by and may broadcast Noti cations 21 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 22. PureMVC: Implementation 22 • Extend Façade, creating a Concrete Façade • Typically called ApplicationFacade, can be called anything • Initialize Controller with Noti cation names, since all actors communicate via your concrete Façade 22 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 23. PureMVC: Implementation 23 • Write Data Objects (any data-holding object) • Enums, Collections, Value, or Transfer Objects, XML, etc… • Should not have any ‘knowledge’ of PureMVC or Proxy • Write Proxies • Holds reference to a Data Object • Exposes an API for accessing the Data Object • May communicate with remote services to save or retrieve data • If more than one Proxy uses same service, refactor service logic into Delegate pattern • Sends Noti cations to communicate with the application when data is received • Handles Domain Logic, keeping Model data valid 23 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 24. PureMVC: Implementation 24 • Write Commands • Handle Business Logic, ensuring that use-cases of the system are executed properly • May create and register Proxies and Mediators • May retrieve and act upon Proxies • May send Noti cations to be responded to by Mediators • May trigger or execute other Commands • Will be executed by Controller when mapped Noti cation is broadcast 24 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 25. PureMVC: Implementation 25 • Simple but intuitive package structure for application; separation of MVC • ApplicationFacade is sibling to model, view, and controller folders • Within model, view, or controller folders, you may add more folders • model folder may have folders; • Enum • vo • delegate or service • mediator folder typically has folder; • components 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 26. PureMVC: Implementation 26 • Class Naming Conventions (Not Requirements) • Model • Sample1Proxy • Sample1VO • Sample1Delegate • Sample3NVO • View • Sample2UI • Sample2UIMediator • Controller • SAMPLE_3 (Noti cation) • Sample3Command • Misc… • Follow your own standards or… • RMC’s AS3/MXML Standards Available 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 27. PureMVC: Sample Application 27 Hello Google Sample App • Silly, but simple & complete example using PureMVC • The user clicks a Button which populates a TextField with text from Google’s homepage TextField Button 27 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 28. PureMVC: Recap 28 Hello Google Sample App • Entire Interaction from UI Button click to server call/response to update UI TextField summarized in these two diagrams • Looks complex, right? 4 9 8 1 2 5,7 7 3 6 2009 Rivello Multimedia Consulting. All Rights Reserved.
  • 29. PureMVC: Sample Application 29 Hello Google Sample App • Let’s View the Demo! 29 v15 2009 Rivello Multimedia Consulting. All Rights Reserved.