SlideShare a Scribd company logo
1 of 32
Structuring Flex applications with the Swiz framework Spreker:  Jamie Craane
Agenda Presentationpatterns Swiz Q&A
PresentationPatterns Autonomous view Presentation Model Code Behind Model View Presenter Model View Controller And many more…
Autonomous view View
Code Behind View MXML Code-behind Eventhandlers Data Model
Model View Presenter Uses contract to  read/write view data View Presenter Read/write model Model
Presentation Model View Presentation model Model
Model View Controller Responds to user events View Controller Updates model Model Notifies view
MVC View Model Service display update update mediator update invokes invokes invokes Controller
Model: Representing State ,[object Object]
[Bindable] : dispatcheseventon state changesession user personList taskList selectedPerson
View: Presentation and Interaction View Model References personlist taskdetails Notifies ,[object Object]
Responds to model changes, ({} databinding)
Responds to user actions, (Declarativeeventhandling)
MostlyMXML,[object Object]
Invokes services
Updates modelView Controller call Service Invoke Model Updates
Service: Encapsulatesbackends Services PersonService TaskService PersonService Mock ,[object Object]
HttpServiceorRemoteObject (ie. BlazeDS)
Returns anASyncToken
Logical place forstubs,[object Object]
Swiz Micro architecture and Dependency Injection framework
MircoArchitectureFramework “Enables, but not restricts, in the implementation of an application following any given architecture”
Swiz in a nutshell Dependency Injection Event Mediation Utilities ServiceHelper Global exception handler And more… MetaData processors
DependencyInjection 1 How can a given object obtain a reference to another object?
DependencyInjection 2 Object A Object B Depends on
DependencyInjection 3 Object A DI framework Object B Object A Object B Application Context
Dependencyinjection 4 [Inject] public var userController:UserController; <?xml version="1.0" encoding="utf-8"?> <swiz:BeanProvider 	<controller:UserController/> </swiz:BeanProvider>
Dependencyinjection 5 Typically inject by type Specify Bean ID if necessary Works with interfaces and inheritance
WhyDependencyInjection? Removes dependencies on concrete implementations No ServiceLocator Easy to see dependencies
EventMediation dispatcher.dispatchEvent( new TaskEvent(TaskEvent.SAVE_TASK_SUCCESS, true)); [Mediate(event="TaskEvent.SAVE_TASK_SUCCESS")] publicfunction saveTaskSuccess():void {   this.closeTaskDetailsWindow();   taskController.retrieveTasks(); }

More Related Content

What's hot (20)

What is MVC?
What is MVC?What is MVC?
What is MVC?
 
Microsoft Biz Talk Server
Microsoft Biz Talk ServerMicrosoft Biz Talk Server
Microsoft Biz Talk Server
 
Angular introduction basic
Angular introduction basicAngular introduction basic
Angular introduction basic
 
Single page application 03
Single page application   03Single page application   03
Single page application 03
 
Web Service
Web ServiceWeb Service
Web Service
 
Interview Questions For Microsoft Dynamics CRM
Interview Questions For Microsoft Dynamics CRMInterview Questions For Microsoft Dynamics CRM
Interview Questions For Microsoft Dynamics CRM
 
Session vi(user control)
Session vi(user control)Session vi(user control)
Session vi(user control)
 
MVVM In Use
MVVM In UseMVVM In Use
MVVM In Use
 
Mvc fundamental
Mvc fundamentalMvc fundamental
Mvc fundamental
 
ASP.NET 4 and AJAX
ASP.NET 4 and AJAXASP.NET 4 and AJAX
ASP.NET 4 and AJAX
 
RMsis Overview
RMsis OverviewRMsis Overview
RMsis Overview
 
Using WatiN in Sharepoint
Using WatiN in SharepointUsing WatiN in Sharepoint
Using WatiN in Sharepoint
 
Plugins 101 In Microsoft Dynamics CRM 2015
Plugins 101 In Microsoft Dynamics CRM 2015Plugins 101 In Microsoft Dynamics CRM 2015
Plugins 101 In Microsoft Dynamics CRM 2015
 
Principles of MVC for Rails Developers
Principles of MVC for Rails DevelopersPrinciples of MVC for Rails Developers
Principles of MVC for Rails Developers
 
MVC architecture by Mohd.Awais on 18th Aug, 2017
MVC architecture by Mohd.Awais on 18th Aug, 2017MVC architecture by Mohd.Awais on 18th Aug, 2017
MVC architecture by Mohd.Awais on 18th Aug, 2017
 
Computer training classes for pega
Computer training classes for pega Computer training classes for pega
Computer training classes for pega
 
Trigon Flexismart Screenshots (Website)
Trigon Flexismart Screenshots (Website)Trigon Flexismart Screenshots (Website)
Trigon Flexismart Screenshots (Website)
 
Getting Started With the TFS Object Model
Getting Started With the TFS Object ModelGetting Started With the TFS Object Model
Getting Started With the TFS Object Model
 
RMsis Overview
RMsis OverviewRMsis Overview
RMsis Overview
 
MVC Architecture
MVC ArchitectureMVC Architecture
MVC Architecture
 

Viewers also liked

Charla Final Plan De SucesióN
Charla Final Plan De SucesióNCharla Final Plan De SucesióN
Charla Final Plan De SucesióNMileidy Castillo
 
Taller: Planes de Sucesión - 18 de junio - San José, Costa Rica
Taller: Planes de Sucesión - 18 de junio - San José, Costa RicaTaller: Planes de Sucesión - 18 de junio - San José, Costa Rica
Taller: Planes de Sucesión - 18 de junio - San José, Costa RicaHR Gurú Latinoamérica
 
Planes de sucesión 1
Planes de sucesión 1Planes de sucesión 1
Planes de sucesión 1jufequin0521
 
Succession Planning
Succession PlanningSuccession Planning
Succession Planninggrbrainerd
 
Planificar la sucesión en la empresa familiar
Planificar la sucesión en la empresa familiarPlanificar la sucesión en la empresa familiar
Planificar la sucesión en la empresa familiarefconsulting
 

Viewers also liked (8)

Marco conceptual
Marco conceptualMarco conceptual
Marco conceptual
 
Claves para elaborar un plan de sucesión. anticiparse al futuro y retener el ...
Claves para elaborar un plan de sucesión. anticiparse al futuro y retener el ...Claves para elaborar un plan de sucesión. anticiparse al futuro y retener el ...
Claves para elaborar un plan de sucesión. anticiparse al futuro y retener el ...
 
Charla Final Plan De SucesióN
Charla Final Plan De SucesióNCharla Final Plan De SucesióN
Charla Final Plan De SucesióN
 
Taller: Planes de Sucesión - 18 de junio - San José, Costa Rica
Taller: Planes de Sucesión - 18 de junio - San José, Costa RicaTaller: Planes de Sucesión - 18 de junio - San José, Costa Rica
Taller: Planes de Sucesión - 18 de junio - San José, Costa Rica
 
Planes de sucesión 1
Planes de sucesión 1Planes de sucesión 1
Planes de sucesión 1
 
Succession Planning
Succession PlanningSuccession Planning
Succession Planning
 
Cómo hacer un plan de sucesión en la empresa: anticiparse al futuro
Cómo hacer un plan de sucesión en la empresa: anticiparse al futuroCómo hacer un plan de sucesión en la empresa: anticiparse al futuro
Cómo hacer un plan de sucesión en la empresa: anticiparse al futuro
 
Planificar la sucesión en la empresa familiar
Planificar la sucesión en la empresa familiarPlanificar la sucesión en la empresa familiar
Planificar la sucesión en la empresa familiar
 

Similar to Structuring Flex Apps with the Swiz Microarchitecture Framework

MVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVCMVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVCAnton Krasnoshchok
 
Applying Code Customizations to Magento 2
Applying Code Customizations to Magento 2 Applying Code Customizations to Magento 2
Applying Code Customizations to Magento 2 Igor Miniailo
 
Building an enterprise app in silverlight 4 and NHibernate
Building an enterprise app in silverlight 4 and NHibernateBuilding an enterprise app in silverlight 4 and NHibernate
Building an enterprise app in silverlight 4 and NHibernatebwullems
 
Portable Class Libraries and MVVM
Portable Class Libraries and MVVMPortable Class Libraries and MVVM
Portable Class Libraries and MVVMAndreas Kuntner
 
Stephen Kennedy Silverlight 3 Deep Dive
Stephen Kennedy Silverlight 3 Deep DiveStephen Kennedy Silverlight 3 Deep Dive
Stephen Kennedy Silverlight 3 Deep DiveMicrosoftFeed
 
Component Based UI Architecture - Alex Moldovan
Component Based UI Architecture - Alex MoldovanComponent Based UI Architecture - Alex Moldovan
Component Based UI Architecture - Alex MoldovanITCamp
 
Model view controller (mvc)
Model view controller (mvc)Model view controller (mvc)
Model view controller (mvc)M Ahsan Khan
 
AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014Ran Wahle
 
Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...
Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...
Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...Svetlin Nakov
 
Ppt of Basic MVC Structure
Ppt of Basic MVC StructurePpt of Basic MVC Structure
Ppt of Basic MVC StructureDipika Wadhvani
 

Similar to Structuring Flex Apps with the Swiz Microarchitecture Framework (20)

MVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVCMVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVC
 
Applying Code Customizations to Magento 2
Applying Code Customizations to Magento 2 Applying Code Customizations to Magento 2
Applying Code Customizations to Magento 2
 
Spring Framework-II
Spring Framework-IISpring Framework-II
Spring Framework-II
 
Mobile architectures
Mobile architecturesMobile architectures
Mobile architectures
 
Building an enterprise app in silverlight 4 and NHibernate
Building an enterprise app in silverlight 4 and NHibernateBuilding an enterprise app in silverlight 4 and NHibernate
Building an enterprise app in silverlight 4 and NHibernate
 
Jsf presentation
Jsf presentationJsf presentation
Jsf presentation
 
Portable Class Libraries and MVVM
Portable Class Libraries and MVVMPortable Class Libraries and MVVM
Portable Class Libraries and MVVM
 
Stephen Kennedy Silverlight 3 Deep Dive
Stephen Kennedy Silverlight 3 Deep DiveStephen Kennedy Silverlight 3 Deep Dive
Stephen Kennedy Silverlight 3 Deep Dive
 
MVC Web Application
MVC Web Application MVC Web Application
MVC Web Application
 
Test
TestTest
Test
 
MVC
MVCMVC
MVC
 
A4 from rad to mvc
A4 from rad to mvcA4 from rad to mvc
A4 from rad to mvc
 
Component Based UI Architecture - Alex Moldovan
Component Based UI Architecture - Alex MoldovanComponent Based UI Architecture - Alex Moldovan
Component Based UI Architecture - Alex Moldovan
 
J2EE pattern 5
J2EE pattern 5J2EE pattern 5
J2EE pattern 5
 
Model view controller (mvc)
Model view controller (mvc)Model view controller (mvc)
Model view controller (mvc)
 
AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014
 
Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...
Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...
Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...
 
Dot net training bangalore
Dot net training bangaloreDot net training bangalore
Dot net training bangalore
 
MVC 4
MVC 4MVC 4
MVC 4
 
Ppt of Basic MVC Structure
Ppt of Basic MVC StructurePpt of Basic MVC Structure
Ppt of Basic MVC Structure
 

Recently uploaded

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 

Recently uploaded (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 

Structuring Flex Apps with the Swiz Microarchitecture Framework