SlideShare a Scribd company logo
MVC Pattern Flex implementation of MVC Anton Krasnoshchok
Please  t urn  o ff  your   c ell  p hones   or set them to vibrate Thank  y ou  f or  y our  c ooperation
UI, business logic and data Business applications consist of user interface (UI), business logic, and data models.  When UI, business logic and data are collapsed into one object in rich users interface, it can lead to some of the following problems: Difficult to use the data outside that object Hard to change the UI, when UI  and data are locked in the same object. Hard to use multiple views of the same data. Difficult to synchronize multiple view of the same data.
MVC pattern Model  -  View - Controller (MVC) is an architectural pattern used in software engineering. The MVC pattern is most commonly used to create interfaces for software applications, and, as the name implies, consists of three elements: Model: contains the application data and logic to manage the state of the application. View: present the user interface. Controller: Handles user inputs to change the state on the application.
Comparison  3 -Tier with MVC 3 -Tier architecture MVC architecture PL BL DAL Model View Controller View tells to controller handle user inputs Controller  changes model state Model tells view to update itself View reads state information from model  and updates itself.
Cairngorm Framework
Cairngorm elements Model Locator : Stores all of your application’s Value Objects (data) and shared variables, in one place View : One or more Flex components (button, panel, combo box, Tile, etc) bundled together as a named unit, bound to data in the Model Locator, and generating custom Cairngorm Events based on user interaction (clicks, rollovers, drag-n-drop etc.) Front Controller : Receives Cairngorm Events and maps them to Cairngorm Commands. Command : Handles business logic, calls Cairngorm Delegates and/or other Commands, and updates the Value Objects and variables stored in the Model Locator Delegate : Created by a Command, they instantiate remote procedure calls (HTTP, Web Services, etc) and hand the results back to that Command. Service : Defines the remote procedure calls (HTTP, Web Services, etc) to connect to remote data stores.
 
Mate Framework Mate framework it is a tag-based, event-driven Flex framework. Benefits Highly decoupled Your classes do not extend from Mate Business logic is independent of framework  Can be tested & reused Business logic decoupled from events Business logic decoupled from services Events are normal Flash events  Can be reused
Basic steps Typically, the basic steps to create a Mate project are: 1. Add the compiled framework code to your project (Mate.swc). 2. Create a file that will be the EventMap . 3. Include the event map in your main Application file. 4. Create a custom event. 5. Somewhere, dispatch that event. 6. Add EventHandlers in your event map that listen for the event type you dispatched. 7. Execute some actions inside the EventHandlers block (ie: call the server, store data, etc). 8. Repeat 4-7 for every event you need.
 
Summary The MVC pattern provides a clear framework for design. The separation of responsibilities among the model, view and controller elements allows easy substitution of elements without disruptions to the overall application. This lets us easily expand applications based on the MVC pattern to meet changing requirements.
Last page Any questions ?

More Related Content

What's hot (20)

Jsp with mvc
Jsp with mvcJsp with mvc
Jsp with mvc
vamsitricks
 
Mvc architecture
Mvc architectureMvc architecture
Mvc architecture
Surbhi Panhalkar
 
What is MVC?
What is MVC?What is MVC?
What is MVC?
Dom Cimafranca
 
Model View Controller (MVC)
Model View Controller (MVC)Model View Controller (MVC)
Model View Controller (MVC)
Javier Antonio Humarán Peñuñuri
 
MVC(Model View Controller),Web,Enterprise,Mobile
MVC(Model View Controller),Web,Enterprise,MobileMVC(Model View Controller),Web,Enterprise,Mobile
MVC(Model View Controller),Web,Enterprise,Mobile
naral
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
Emad Alashi
 
Introduction to mvc architecture
Introduction to mvc architectureIntroduction to mvc architecture
Introduction to mvc architecture
ravindraquicsolv
 
Mvc framework
Mvc frameworkMvc framework
Mvc framework
Dhurham Fahem
 
MSDN - ASP.NET MVC
MSDN - ASP.NET MVCMSDN - ASP.NET MVC
MSDN - ASP.NET MVC
Maarten Balliauw
 
Asp.net mvc
Asp.net mvcAsp.net mvc
Asp.net mvc
Er. Kamal Bhusal
 
Asp.net mvc
Asp.net mvcAsp.net mvc
Asp.net mvc
Naga Harish M
 
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
Innovation Studio
 
Asp.net MVC training session
Asp.net MVC training sessionAsp.net MVC training session
Asp.net MVC training session
Hrichi Mohamed
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
Volkan Uzun
 
MVC
MVCMVC
MVC
akshin
 
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazingMortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
Tom Walker
 
Just a View: An Introduction To Model-View-Controller Pattern
Just a View:  An Introduction To Model-View-Controller PatternJust a View:  An Introduction To Model-View-Controller Pattern
Just a View: An Introduction To Model-View-Controller Pattern
Aaron Nordyke
 
MVC Seminar Presantation
MVC Seminar PresantationMVC Seminar Presantation
MVC Seminar Presantation
Abhishek Yadav
 
Asp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin SawantAsp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin Sawant
Nitin S
 
Software architectural design patterns(MVC, MVP, MVVM, VIPER) for iOS
Software architectural design patterns(MVC, MVP, MVVM, VIPER) for iOSSoftware architectural design patterns(MVC, MVP, MVVM, VIPER) for iOS
Software architectural design patterns(MVC, MVP, MVVM, VIPER) for iOS
Jinkyu Kim
 
MVC(Model View Controller),Web,Enterprise,Mobile
MVC(Model View Controller),Web,Enterprise,MobileMVC(Model View Controller),Web,Enterprise,Mobile
MVC(Model View Controller),Web,Enterprise,Mobile
naral
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
Emad Alashi
 
Introduction to mvc architecture
Introduction to mvc architectureIntroduction to mvc architecture
Introduction to mvc architecture
ravindraquicsolv
 
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
Innovation Studio
 
Asp.net MVC training session
Asp.net MVC training sessionAsp.net MVC training session
Asp.net MVC training session
Hrichi Mohamed
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
Volkan Uzun
 
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazingMortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
Tom Walker
 
Just a View: An Introduction To Model-View-Controller Pattern
Just a View:  An Introduction To Model-View-Controller PatternJust a View:  An Introduction To Model-View-Controller Pattern
Just a View: An Introduction To Model-View-Controller Pattern
Aaron Nordyke
 
MVC Seminar Presantation
MVC Seminar PresantationMVC Seminar Presantation
MVC Seminar Presantation
Abhishek Yadav
 
Asp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin SawantAsp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin Sawant
Nitin S
 
Software architectural design patterns(MVC, MVP, MVVM, VIPER) for iOS
Software architectural design patterns(MVC, MVP, MVVM, VIPER) for iOSSoftware architectural design patterns(MVC, MVP, MVVM, VIPER) for iOS
Software architectural design patterns(MVC, MVP, MVVM, VIPER) for iOS
Jinkyu Kim
 

Viewers also liked (19)

Spring MVC Architecture Tutorial
Spring MVC Architecture TutorialSpring MVC Architecture Tutorial
Spring MVC Architecture Tutorial
Java Success Point
 
Spring Web MVC
Spring Web MVCSpring Web MVC
Spring Web MVC
zeeshanhanif
 
Spring MVC Basics
Spring MVC BasicsSpring MVC Basics
Spring MVC Basics
Bozhidar Bozhanov
 
Spring MVC 3.0 Framework
Spring MVC 3.0 FrameworkSpring MVC 3.0 Framework
Spring MVC 3.0 Framework
Ravi Kant Soni ([email protected])
 
Spring Portlet MVC
Spring Portlet MVCSpring Portlet MVC
Spring Portlet MVC
John Lewis
 
Spring mvc my Faviourite Slide
Spring mvc my Faviourite SlideSpring mvc my Faviourite Slide
Spring mvc my Faviourite Slide
Daniel Adenew
 
02 java spring-hibernate-experience-questions
02 java spring-hibernate-experience-questions02 java spring-hibernate-experience-questions
02 java spring-hibernate-experience-questions
Dhiraj Champawat
 
Spring Web Service, Spring JMS, Eclipse & Maven tutorials
Spring Web Service, Spring JMS, Eclipse & Maven tutorialsSpring Web Service, Spring JMS, Eclipse & Maven tutorials
Spring Web Service, Spring JMS, Eclipse & Maven tutorials
Raghavan Mohan
 
Spring 3 Annotated Development
Spring 3 Annotated DevelopmentSpring 3 Annotated Development
Spring 3 Annotated Development
kensipe
 
Spring @Transactional Explained
Spring @Transactional ExplainedSpring @Transactional Explained
Spring @Transactional Explained
Smita Prasad
 
What's new in Spring 3?
What's new in Spring 3?What's new in Spring 3?
What's new in Spring 3?
Craig Walls
 
Spring annotation
Spring annotationSpring annotation
Spring annotation
Rajiv Srivastava
 
Spring 4 on Java 8 by Juergen Hoeller
Spring 4 on Java 8 by Juergen HoellerSpring 4 on Java 8 by Juergen Hoeller
Spring 4 on Java 8 by Juergen Hoeller
ZeroTurnaround
 
Introduction to Spring MVC
Introduction to Spring MVCIntroduction to Spring MVC
Introduction to Spring MVC
Richard Paul
 
SpringFramework Overview
SpringFramework OverviewSpringFramework Overview
SpringFramework Overview
zerovirus23
 
Spring 3.x - Spring MVC - Advanced topics
Spring 3.x - Spring MVC - Advanced topicsSpring 3.x - Spring MVC - Advanced topics
Spring 3.x - Spring MVC - Advanced topics
Guy Nir
 
Spring Mvc,Java, Spring
Spring Mvc,Java, SpringSpring Mvc,Java, Spring
Spring Mvc,Java, Spring
ifnu bima
 
Modele mvc
Modele mvcModele mvc
Modele mvc
Soulef riahi
 
Managing user's data with Spring Session
Managing user's data with Spring SessionManaging user's data with Spring Session
Managing user's data with Spring Session
David Gómez García
 
Spring MVC Architecture Tutorial
Spring MVC Architecture TutorialSpring MVC Architecture Tutorial
Spring MVC Architecture Tutorial
Java Success Point
 
Spring Portlet MVC
Spring Portlet MVCSpring Portlet MVC
Spring Portlet MVC
John Lewis
 
Spring mvc my Faviourite Slide
Spring mvc my Faviourite SlideSpring mvc my Faviourite Slide
Spring mvc my Faviourite Slide
Daniel Adenew
 
02 java spring-hibernate-experience-questions
02 java spring-hibernate-experience-questions02 java spring-hibernate-experience-questions
02 java spring-hibernate-experience-questions
Dhiraj Champawat
 
Spring Web Service, Spring JMS, Eclipse & Maven tutorials
Spring Web Service, Spring JMS, Eclipse & Maven tutorialsSpring Web Service, Spring JMS, Eclipse & Maven tutorials
Spring Web Service, Spring JMS, Eclipse & Maven tutorials
Raghavan Mohan
 
Spring 3 Annotated Development
Spring 3 Annotated DevelopmentSpring 3 Annotated Development
Spring 3 Annotated Development
kensipe
 
Spring @Transactional Explained
Spring @Transactional ExplainedSpring @Transactional Explained
Spring @Transactional Explained
Smita Prasad
 
What's new in Spring 3?
What's new in Spring 3?What's new in Spring 3?
What's new in Spring 3?
Craig Walls
 
Spring 4 on Java 8 by Juergen Hoeller
Spring 4 on Java 8 by Juergen HoellerSpring 4 on Java 8 by Juergen Hoeller
Spring 4 on Java 8 by Juergen Hoeller
ZeroTurnaround
 
Introduction to Spring MVC
Introduction to Spring MVCIntroduction to Spring MVC
Introduction to Spring MVC
Richard Paul
 
SpringFramework Overview
SpringFramework OverviewSpringFramework Overview
SpringFramework Overview
zerovirus23
 
Spring 3.x - Spring MVC - Advanced topics
Spring 3.x - Spring MVC - Advanced topicsSpring 3.x - Spring MVC - Advanced topics
Spring 3.x - Spring MVC - Advanced topics
Guy Nir
 
Spring Mvc,Java, Spring
Spring Mvc,Java, SpringSpring Mvc,Java, Spring
Spring Mvc,Java, Spring
ifnu bima
 
Managing user's data with Spring Session
Managing user's data with Spring SessionManaging user's data with Spring Session
Managing user's data with Spring Session
David Gómez García
 
Ad

Similar to MVC Pattern. Flex implementation of MVC (20)

IRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET- MVC Framework: A Modern Web Application Development Approach and WorkingIRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET Journal
 
MVC
MVCMVC
MVC
Ravi Bansal
 
MVC in PHP
MVC in PHPMVC in PHP
MVC in PHP
Vineet Kumar Saini
 
Introduction to MVC in Flex and HydraMVC
Introduction to MVC in Flex and HydraMVCIntroduction to MVC in Flex and HydraMVC
Introduction to MVC in Flex and HydraMVC
cltru
 
Training: MVVM Pattern
Training: MVVM PatternTraining: MVVM Pattern
Training: MVVM Pattern
Betclic Everest Group Tech Team
 
MVC Design Pattern in JavaScript by ADMEC Multimedia Institute
MVC Design Pattern in JavaScript by ADMEC Multimedia InstituteMVC Design Pattern in JavaScript by ADMEC Multimedia Institute
MVC Design Pattern in JavaScript by ADMEC Multimedia Institute
Ravi Bhadauria
 
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] FrameworksAdobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
Stefano Virgilli
 
Model View Madness
Model View MadnessModel View Madness
Model View Madness
Mike Wilcox
 
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
CrimsonpublishersPRSP
 
MVC 6 Introduction
MVC 6 IntroductionMVC 6 Introduction
MVC 6 Introduction
Sudhakar Sharma
 
Software Design Patterns
Software Design PatternsSoftware Design Patterns
Software Design Patterns
alkuzaee
 
How I Accidentally Discovered MVVM
How I Accidentally Discovered MVVMHow I Accidentally Discovered MVVM
How I Accidentally Discovered MVVM
Bradford Dillon
 
Ppt of Basic MVC Structure
Ppt of Basic MVC StructurePpt of Basic MVC Structure
Ppt of Basic MVC Structure
Dipika Wadhvani
 
Mvc Architecture in a web based application
Mvc Architecture in a web based applicationMvc Architecture in a web based application
Mvc Architecture in a web based application
OnGraph Technologies Pvt. Ltd.
 
Web App Architectures and Design Patterns
Web App Architectures and Design PatternsWeb App Architectures and Design Patterns
Web App Architectures and Design Patterns
Rui Sousa
 
mvcExpress training course : part1
mvcExpress training course : part1mvcExpress training course : part1
mvcExpress training course : part1
Raimundas Banevičius
 
Applying Domain Driven Design on Asp.net MVC – Part 1: Asp.net MVC
Applying Domain Driven Design on Asp.net MVC – Part 1: Asp.net MVCApplying Domain Driven Design on Asp.net MVC – Part 1: Asp.net MVC
Applying Domain Driven Design on Asp.net MVC – Part 1: Asp.net MVC
Mohamed Meligy
 
MVVM ( Model View ViewModel )
MVVM ( Model View ViewModel )MVVM ( Model View ViewModel )
MVVM ( Model View ViewModel )
Ahmed Emad
 
IntroductionToMVC
IntroductionToMVCIntroductionToMVC
IntroductionToMVC
Akhil Mittal
 
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
 
IRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET- MVC Framework: A Modern Web Application Development Approach and WorkingIRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET Journal
 
Introduction to MVC in Flex and HydraMVC
Introduction to MVC in Flex and HydraMVCIntroduction to MVC in Flex and HydraMVC
Introduction to MVC in Flex and HydraMVC
cltru
 
MVC Design Pattern in JavaScript by ADMEC Multimedia Institute
MVC Design Pattern in JavaScript by ADMEC Multimedia InstituteMVC Design Pattern in JavaScript by ADMEC Multimedia Institute
MVC Design Pattern in JavaScript by ADMEC Multimedia Institute
Ravi Bhadauria
 
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] FrameworksAdobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
Adobe Flex - Foundation to Advanced (Bundle) [A-FX-103] Frameworks
Stefano Virgilli
 
Model View Madness
Model View MadnessModel View Madness
Model View Madness
Mike Wilcox
 
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
CrimsonpublishersPRSP
 
Software Design Patterns
Software Design PatternsSoftware Design Patterns
Software Design Patterns
alkuzaee
 
How I Accidentally Discovered MVVM
How I Accidentally Discovered MVVMHow I Accidentally Discovered MVVM
How I Accidentally Discovered MVVM
Bradford Dillon
 
Ppt of Basic MVC Structure
Ppt of Basic MVC StructurePpt of Basic MVC Structure
Ppt of Basic MVC Structure
Dipika Wadhvani
 
Web App Architectures and Design Patterns
Web App Architectures and Design PatternsWeb App Architectures and Design Patterns
Web App Architectures and Design Patterns
Rui Sousa
 
Applying Domain Driven Design on Asp.net MVC – Part 1: Asp.net MVC
Applying Domain Driven Design on Asp.net MVC – Part 1: Asp.net MVCApplying Domain Driven Design on Asp.net MVC – Part 1: Asp.net MVC
Applying Domain Driven Design on Asp.net MVC – Part 1: Asp.net MVC
Mohamed Meligy
 
MVVM ( Model View ViewModel )
MVVM ( Model View ViewModel )MVVM ( Model View ViewModel )
MVVM ( Model View ViewModel )
Ahmed Emad
 
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
 
Ad

Recently uploaded (20)

TriStar Gold Corporate Presentation - June 2025
TriStar Gold Corporate Presentation - June 2025TriStar Gold Corporate Presentation - June 2025
TriStar Gold Corporate Presentation - June 2025
Adnet Communications
 
The Essential Guide to Using Weed Mats Effectively.pdf
The Essential Guide to Using Weed Mats Effectively.pdfThe Essential Guide to Using Weed Mats Effectively.pdf
The Essential Guide to Using Weed Mats Effectively.pdf
dmktg41singhal
 
chapter 9 leadership qualityies university of windsor
chapter 9 leadership qualityies university of windsorchapter 9 leadership qualityies university of windsor
chapter 9 leadership qualityies university of windsor
zamananalyst29
 
Marc Belluomini - An Impressive Career In Boom Operation
Marc Belluomini - An Impressive Career In Boom OperationMarc Belluomini - An Impressive Career In Boom Operation
Marc Belluomini - An Impressive Career In Boom Operation
Marc Belluomini
 
Commercial Banks Management Unit-2 Risks Faced by Commercial Banks.pptx
Commercial Banks Management Unit-2 Risks Faced by Commercial Banks.pptxCommercial Banks Management Unit-2 Risks Faced by Commercial Banks.pptx
Commercial Banks Management Unit-2 Risks Faced by Commercial Banks.pptx
aachalmagar86
 
Oleksandr Osypenko: Професійна етика та відповідальність (UA)
Oleksandr Osypenko: Професійна етика та відповідальність (UA)Oleksandr Osypenko: Професійна етика та відповідальність (UA)
Oleksandr Osypenko: Професійна етика та відповідальність (UA)
Lviv Startup Club
 
Deutsche Bank Access Global Consumer Conference 2025
Deutsche Bank Access Global Consumer Conference 2025Deutsche Bank Access Global Consumer Conference 2025
Deutsche Bank Access Global Consumer Conference 2025
SYYIR
 
The Complete Guide to Digital Marketing Strategies, Tools & Trends (2025 Edit...
The Complete Guide to Digital Marketing Strategies, Tools & Trends (2025 Edit...The Complete Guide to Digital Marketing Strategies, Tools & Trends (2025 Edit...
The Complete Guide to Digital Marketing Strategies, Tools & Trends (2025 Edit...
Eside Digital
 
DIGIPIN : The new Digital Address system in India - How It can Help Pharma In...
DIGIPIN : The new Digital Address system in India - How It can Help Pharma In...DIGIPIN : The new Digital Address system in India - How It can Help Pharma In...
DIGIPIN : The new Digital Address system in India - How It can Help Pharma In...
Satya Mahesh Kallakuru
 
Enterprise Design templates (free PowerPoint templates)
Enterprise Design templates (free PowerPoint templates)Enterprise Design templates (free PowerPoint templates)
Enterprise Design templates (free PowerPoint templates)
Eero Hosiaisluoma
 
Oleksandr Osypenko: Команда проєкту (UA)
Oleksandr Osypenko: Команда проєкту (UA)Oleksandr Osypenko: Команда проєкту (UA)
Oleksandr Osypenko: Команда проєкту (UA)
Lviv Startup Club
 
African Startup Review presentation for Timi
African Startup Review presentation for TimiAfrican Startup Review presentation for Timi
African Startup Review presentation for Timi
MerisLabs
 
Water Pump Market Size, Share and Forecast | 2025-2034
Water Pump Market Size, Share and Forecast | 2025-2034Water Pump Market Size, Share and Forecast | 2025-2034
Water Pump Market Size, Share and Forecast | 2025-2034
GeorgeButtler
 
Business Credit Score​: Why It Is Important & How To Improve It
Business Credit Score​: Why It Is Important & How To Improve ItBusiness Credit Score​: Why It Is Important & How To Improve It
Business Credit Score​: Why It Is Important & How To Improve It
CreditQ1
 
Kirill Klip GEM Royalty TNR Gold Lithium Presentation
Kirill Klip GEM Royalty TNR Gold Lithium PresentationKirill Klip GEM Royalty TNR Gold Lithium Presentation
Kirill Klip GEM Royalty TNR Gold Lithium Presentation
Kirill Klip
 
Why Landlords Trust Rent On Time for Stress-Free Property Management
Why Landlords Trust Rent On Time for Stress-Free Property ManagementWhy Landlords Trust Rent On Time for Stress-Free Property Management
Why Landlords Trust Rent On Time for Stress-Free Property Management
Rent On Time
 
Thermal Energy Investor slide deck - June 2025
Thermal Energy Investor slide deck - June 2025Thermal Energy Investor slide deck - June 2025
Thermal Energy Investor slide deck - June 2025
Marketing847413
 
Facemask Filter test .pdf
Facemask Filter test                .pdfFacemask Filter test                .pdf
Facemask Filter test .pdf
Test Master
 
20250606_A. Stotz All Weather Strategy - Weights update & Performance review ...
20250606_A. Stotz All Weather Strategy - Weights update & Performance review ...20250606_A. Stotz All Weather Strategy - Weights update & Performance review ...
20250606_A. Stotz All Weather Strategy - Weights update & Performance review ...
FINNOMENAMarketing
 
What is Interior designing(introduction).pdf
What is Interior designing(introduction).pdfWhat is Interior designing(introduction).pdf
What is Interior designing(introduction).pdf
bhatiagitali
 
TriStar Gold Corporate Presentation - June 2025
TriStar Gold Corporate Presentation - June 2025TriStar Gold Corporate Presentation - June 2025
TriStar Gold Corporate Presentation - June 2025
Adnet Communications
 
The Essential Guide to Using Weed Mats Effectively.pdf
The Essential Guide to Using Weed Mats Effectively.pdfThe Essential Guide to Using Weed Mats Effectively.pdf
The Essential Guide to Using Weed Mats Effectively.pdf
dmktg41singhal
 
chapter 9 leadership qualityies university of windsor
chapter 9 leadership qualityies university of windsorchapter 9 leadership qualityies university of windsor
chapter 9 leadership qualityies university of windsor
zamananalyst29
 
Marc Belluomini - An Impressive Career In Boom Operation
Marc Belluomini - An Impressive Career In Boom OperationMarc Belluomini - An Impressive Career In Boom Operation
Marc Belluomini - An Impressive Career In Boom Operation
Marc Belluomini
 
Commercial Banks Management Unit-2 Risks Faced by Commercial Banks.pptx
Commercial Banks Management Unit-2 Risks Faced by Commercial Banks.pptxCommercial Banks Management Unit-2 Risks Faced by Commercial Banks.pptx
Commercial Banks Management Unit-2 Risks Faced by Commercial Banks.pptx
aachalmagar86
 
Oleksandr Osypenko: Професійна етика та відповідальність (UA)
Oleksandr Osypenko: Професійна етика та відповідальність (UA)Oleksandr Osypenko: Професійна етика та відповідальність (UA)
Oleksandr Osypenko: Професійна етика та відповідальність (UA)
Lviv Startup Club
 
Deutsche Bank Access Global Consumer Conference 2025
Deutsche Bank Access Global Consumer Conference 2025Deutsche Bank Access Global Consumer Conference 2025
Deutsche Bank Access Global Consumer Conference 2025
SYYIR
 
The Complete Guide to Digital Marketing Strategies, Tools & Trends (2025 Edit...
The Complete Guide to Digital Marketing Strategies, Tools & Trends (2025 Edit...The Complete Guide to Digital Marketing Strategies, Tools & Trends (2025 Edit...
The Complete Guide to Digital Marketing Strategies, Tools & Trends (2025 Edit...
Eside Digital
 
DIGIPIN : The new Digital Address system in India - How It can Help Pharma In...
DIGIPIN : The new Digital Address system in India - How It can Help Pharma In...DIGIPIN : The new Digital Address system in India - How It can Help Pharma In...
DIGIPIN : The new Digital Address system in India - How It can Help Pharma In...
Satya Mahesh Kallakuru
 
Enterprise Design templates (free PowerPoint templates)
Enterprise Design templates (free PowerPoint templates)Enterprise Design templates (free PowerPoint templates)
Enterprise Design templates (free PowerPoint templates)
Eero Hosiaisluoma
 
Oleksandr Osypenko: Команда проєкту (UA)
Oleksandr Osypenko: Команда проєкту (UA)Oleksandr Osypenko: Команда проєкту (UA)
Oleksandr Osypenko: Команда проєкту (UA)
Lviv Startup Club
 
African Startup Review presentation for Timi
African Startup Review presentation for TimiAfrican Startup Review presentation for Timi
African Startup Review presentation for Timi
MerisLabs
 
Water Pump Market Size, Share and Forecast | 2025-2034
Water Pump Market Size, Share and Forecast | 2025-2034Water Pump Market Size, Share and Forecast | 2025-2034
Water Pump Market Size, Share and Forecast | 2025-2034
GeorgeButtler
 
Business Credit Score​: Why It Is Important & How To Improve It
Business Credit Score​: Why It Is Important & How To Improve ItBusiness Credit Score​: Why It Is Important & How To Improve It
Business Credit Score​: Why It Is Important & How To Improve It
CreditQ1
 
Kirill Klip GEM Royalty TNR Gold Lithium Presentation
Kirill Klip GEM Royalty TNR Gold Lithium PresentationKirill Klip GEM Royalty TNR Gold Lithium Presentation
Kirill Klip GEM Royalty TNR Gold Lithium Presentation
Kirill Klip
 
Why Landlords Trust Rent On Time for Stress-Free Property Management
Why Landlords Trust Rent On Time for Stress-Free Property ManagementWhy Landlords Trust Rent On Time for Stress-Free Property Management
Why Landlords Trust Rent On Time for Stress-Free Property Management
Rent On Time
 
Thermal Energy Investor slide deck - June 2025
Thermal Energy Investor slide deck - June 2025Thermal Energy Investor slide deck - June 2025
Thermal Energy Investor slide deck - June 2025
Marketing847413
 
Facemask Filter test .pdf
Facemask Filter test                .pdfFacemask Filter test                .pdf
Facemask Filter test .pdf
Test Master
 
20250606_A. Stotz All Weather Strategy - Weights update & Performance review ...
20250606_A. Stotz All Weather Strategy - Weights update & Performance review ...20250606_A. Stotz All Weather Strategy - Weights update & Performance review ...
20250606_A. Stotz All Weather Strategy - Weights update & Performance review ...
FINNOMENAMarketing
 
What is Interior designing(introduction).pdf
What is Interior designing(introduction).pdfWhat is Interior designing(introduction).pdf
What is Interior designing(introduction).pdf
bhatiagitali
 

MVC Pattern. Flex implementation of MVC

  • 1. MVC Pattern Flex implementation of MVC Anton Krasnoshchok
  • 2. Please t urn o ff your c ell p hones or set them to vibrate Thank y ou f or y our c ooperation
  • 3. UI, business logic and data Business applications consist of user interface (UI), business logic, and data models. When UI, business logic and data are collapsed into one object in rich users interface, it can lead to some of the following problems: Difficult to use the data outside that object Hard to change the UI, when UI and data are locked in the same object. Hard to use multiple views of the same data. Difficult to synchronize multiple view of the same data.
  • 4. MVC pattern Model - View - Controller (MVC) is an architectural pattern used in software engineering. The MVC pattern is most commonly used to create interfaces for software applications, and, as the name implies, consists of three elements: Model: contains the application data and logic to manage the state of the application. View: present the user interface. Controller: Handles user inputs to change the state on the application.
  • 5. Comparison 3 -Tier with MVC 3 -Tier architecture MVC architecture PL BL DAL Model View Controller View tells to controller handle user inputs Controller changes model state Model tells view to update itself View reads state information from model and updates itself.
  • 7. Cairngorm elements Model Locator : Stores all of your application’s Value Objects (data) and shared variables, in one place View : One or more Flex components (button, panel, combo box, Tile, etc) bundled together as a named unit, bound to data in the Model Locator, and generating custom Cairngorm Events based on user interaction (clicks, rollovers, drag-n-drop etc.) Front Controller : Receives Cairngorm Events and maps them to Cairngorm Commands. Command : Handles business logic, calls Cairngorm Delegates and/or other Commands, and updates the Value Objects and variables stored in the Model Locator Delegate : Created by a Command, they instantiate remote procedure calls (HTTP, Web Services, etc) and hand the results back to that Command. Service : Defines the remote procedure calls (HTTP, Web Services, etc) to connect to remote data stores.
  • 8.  
  • 9. Mate Framework Mate framework it is a tag-based, event-driven Flex framework. Benefits Highly decoupled Your classes do not extend from Mate Business logic is independent of framework Can be tested & reused Business logic decoupled from events Business logic decoupled from services Events are normal Flash events Can be reused
  • 10. Basic steps Typically, the basic steps to create a Mate project are: 1. Add the compiled framework code to your project (Mate.swc). 2. Create a file that will be the EventMap . 3. Include the event map in your main Application file. 4. Create a custom event. 5. Somewhere, dispatch that event. 6. Add EventHandlers in your event map that listen for the event type you dispatched. 7. Execute some actions inside the EventHandlers block (ie: call the server, store data, etc). 8. Repeat 4-7 for every event you need.
  • 11.  
  • 12. Summary The MVC pattern provides a clear framework for design. The separation of responsibilities among the model, view and controller elements allows easy substitution of elements without disruptions to the overall application. This lets us easily expand applications based on the MVC pattern to meet changing requirements.
  • 13. Last page Any questions ?