SlideShare a Scribd company logo
1 of 19
Presenter:  Sergiy Beslik Prism - Composite Application Guidance for WPF and Silverlight
What is Composite Application? Composite Application consists of loosely coupled modules that can be developed independently, discovered at runtime and work together.
What is Prism? Prism is a set of guidance designed to help building composite UI applications with WPF and Silverlight.
What is Prism? Library Reference Implementation Guidelines Quick-Starts
Prism Core Concepts Modules UI Composition Dependency Injection Events and Commands Separated Presentation Patterns Multi-targeting
Modules Unit of development Modules can be developed and tested independently by different teams. Unit of deployment Modules can be loaded on demand, minimizing application start-up time. Modules can be added or changed without re-building the whole application.
Bootstrapper Bootstrapper Module A  public class ModuleA : IModule     { public void Initialize()         {
UI Composition Views from multiple modules are displayed at run time in specific locations within the application's UI. <TabControlRegionManager.RegionName=  “MainContentRegion” /> Module A Module B <ItemsControlRegionManager.RegionName=    “NavigationRegion">
View Discovery vs. View Injection Views can be instantiated automatically when region is displayed, or explicitly injected into region.
Dependency Injection Dependency Injection Pattern Service Locator Pattern
Events and Commands Delegate Command Implements delegate-based Command pattern Composite Command Implements multiple handlers command routing Event Aggregator Implements publishing and subscribing to loosely coupled events
Event Aggregator Event Aggregator is a mediator service that allows decoupling of publishers and subscribers. Module A Module B eventAggregator.GetEvent<MyEvent>().Subscribe(MyEventHandler, ThreadOption.UIThread, false, MyEventFilter); eventAggregator.GetEvent<MyEvent>().Publish(eventArgs)
Separate Presentation Patterns Model-View-Controller (MVC) Model-View-Presenter (MVP) Presentation Model (PM) Model-View-ViewModel (MVVM)
Model-View-ViewModel Pattern
Prism Reference Implementation Demo…
Prism Releases Prism 1.0 – WPF, July 2008 Prism 2.0 – WPF & Silverlight 2.0, Feb 2009 Prism 2.1 – WPF & Silverlight 3.0, Oct 2009 Prism 2.2 – WPF & Silverlight 4.0, May 2010 Prism 4.0 – WPF & Silverlight 4.0, beta version is available
What’s new in Prism 4.0 WPF 4.0 Support More ViewModel Pattern Guidance Managed Extensibility Framework (MEF) Support Guidance For Out of Browser Applications Application Structure Patterns & Navigation
Useful links MSDN Magazine article “Patterns For Building Composite Applications With WPF”: http://msdn.microsoft.com/en-us/magazine/cc785479.aspx MSDN Magazine article “WPF Apps with the Model-View-ViewModel Design Pattern”: http://msdn.microsoft.com/en-us/magazine/dd419663.aspx PowerPoint presentation and video from Patterns & Practices Symposium in Kiev, September 2010: http://www.techdays.in.ua/videos/2897.html Download latest version of Prism: http://compositewpf.codeplex.com/releases/view/46046
Europe Headquarters 52 V. Velykoho Str. Lviv 79053, Ukraine Tel:   +380-32-240-9090Fax:  +380-32-240-9080 E-mail: info@softserveinc.com Website: www.softserveinc.com US Headquarters 12800 University Drive, Suite 250Fort Myers, FL 33907, USA Tel:   239-690-3111 Fax:  239-690-3116 Thank You! Copyright ©2010 SoftServe, Inc. Contacts

More Related Content

What's hot

Developing Custom Controls with UI5 (OpenUI5 video lecture)
Developing Custom Controls with UI5 (OpenUI5 video lecture)Developing Custom Controls with UI5 (OpenUI5 video lecture)
Developing Custom Controls with UI5 (OpenUI5 video lecture)Michael Graf
 
Introduction To Model View Presenter
Introduction To Model View PresenterIntroduction To Model View Presenter
Introduction To Model View Presentersaeed shargi ghazani
 
Model View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In AspnetModel View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In Aspnetrainynovember12
 
android design pattern
android design patternandroid design pattern
android design patternLucas Xu
 
Model View Presenter For Android
Model View Presenter For AndroidModel View Presenter For Android
Model View Presenter For AndroidInnovationM
 
Model View Presenter For Android
Model View Presenter For AndroidModel View Presenter For Android
Model View Presenter For AndroidInnovationM
 
MVVM ( Model View ViewModel )
MVVM ( Model View ViewModel )MVVM ( Model View ViewModel )
MVVM ( Model View ViewModel )Ahmed Emad
 
RIA implementation patterns
RIA implementation patternsRIA implementation patterns
RIA implementation patternsÜrgo Ringo
 
Model view view model
Model view view modelModel view view model
Model view view modelBinu Bhasuran
 
Model View Presenter For Android
Model View Presenter For AndroidModel View Presenter For Android
Model View Presenter For AndroidInnovationM
 
Kalp Corporate Angular Js Tutorials
Kalp Corporate Angular Js TutorialsKalp Corporate Angular Js Tutorials
Kalp Corporate Angular Js TutorialsKalp Corporate
 
Spring vs. asp.net mvc
Spring vs. asp.net mvcSpring vs. asp.net mvc
Spring vs. asp.net mvcUmar Ali
 
Cross Platform Mobile app with Ionic Framework - 2015
Cross Platform Mobile app with Ionic Framework - 2015Cross Platform Mobile app with Ionic Framework - 2015
Cross Platform Mobile app with Ionic Framework - 2015Bikash Sundaray
 
Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan ScheidtMaven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan ScheidtOPITZ CONSULTING Deutschland
 

What's hot (20)

Developing Custom Controls with UI5 (OpenUI5 video lecture)
Developing Custom Controls with UI5 (OpenUI5 video lecture)Developing Custom Controls with UI5 (OpenUI5 video lecture)
Developing Custom Controls with UI5 (OpenUI5 video lecture)
 
Mvc ppt
Mvc pptMvc ppt
Mvc ppt
 
Introduction To Model View Presenter
Introduction To Model View PresenterIntroduction To Model View Presenter
Introduction To Model View Presenter
 
Model View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In AspnetModel View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In Aspnet
 
android design pattern
android design patternandroid design pattern
android design pattern
 
Model View Presenter For Android
Model View Presenter For AndroidModel View Presenter For Android
Model View Presenter For Android
 
Model View Presenter For Android
Model View Presenter For AndroidModel View Presenter For Android
Model View Presenter For Android
 
Angular JS Introduction
Angular JS IntroductionAngular JS Introduction
Angular JS Introduction
 
MVVM ( Model View ViewModel )
MVVM ( Model View ViewModel )MVVM ( Model View ViewModel )
MVVM ( Model View ViewModel )
 
RIA implementation patterns
RIA implementation patternsRIA implementation patterns
RIA implementation patterns
 
Model view view model
Model view view modelModel view view model
Model view view model
 
Android MVVM
Android MVVMAndroid MVVM
Android MVVM
 
Mvp pattern
Mvp patternMvp pattern
Mvp pattern
 
Model View Presenter For Android
Model View Presenter For AndroidModel View Presenter For Android
Model View Presenter For Android
 
Kalp Corporate Angular Js Tutorials
Kalp Corporate Angular Js TutorialsKalp Corporate Angular Js Tutorials
Kalp Corporate Angular Js Tutorials
 
Slide Presentation of MVP Pattern Concept
Slide Presentation of MVP Pattern ConceptSlide Presentation of MVP Pattern Concept
Slide Presentation of MVP Pattern Concept
 
Spring vs. asp.net mvc
Spring vs. asp.net mvcSpring vs. asp.net mvc
Spring vs. asp.net mvc
 
Micro Frontends
Micro FrontendsMicro Frontends
Micro Frontends
 
Cross Platform Mobile app with Ionic Framework - 2015
Cross Platform Mobile app with Ionic Framework - 2015Cross Platform Mobile app with Ionic Framework - 2015
Cross Platform Mobile app with Ionic Framework - 2015
 
Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan ScheidtMaven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
 

Viewers also liked

Salah-refraction of light
Salah-refraction of lightSalah-refraction of light
Salah-refraction of lightSalah Sari
 
Total internal reflection optical fibre
Total internal reflection optical fibreTotal internal reflection optical fibre
Total internal reflection optical fibreelainesong716
 
Science8 Unit C Lightand Optics Section2 Lesson4 Mirrors Lensesand Refraction...
Science8 Unit C Lightand Optics Section2 Lesson4 Mirrors Lensesand Refraction...Science8 Unit C Lightand Optics Section2 Lesson4 Mirrors Lensesand Refraction...
Science8 Unit C Lightand Optics Section2 Lesson4 Mirrors Lensesand Refraction...Shorin
 
06 partial refraction and total internal reflection
06   partial refraction and total internal reflection06   partial refraction and total internal reflection
06 partial refraction and total internal reflectionmrtangextrahelp
 
[Unit 12.2] refraction of light
[Unit 12.2] refraction of light[Unit 12.2] refraction of light
[Unit 12.2] refraction of lighthmsoh
 
Refraction through a glass slab and the refractive index
Refraction through a glass slab and the refractive indexRefraction through a glass slab and the refractive index
Refraction through a glass slab and the refractive indexSharan Raj
 
Total internal reflection (3)
Total internal reflection (3)Total internal reflection (3)
Total internal reflection (3)Chithra VM
 
Reflection and Refraction
Reflection and RefractionReflection and Refraction
Reflection and Refractionmeenng
 

Viewers also liked (11)

Salah-refraction of light
Salah-refraction of lightSalah-refraction of light
Salah-refraction of light
 
Total internal reflection optical fibre
Total internal reflection optical fibreTotal internal reflection optical fibre
Total internal reflection optical fibre
 
Refraction of light 1
Refraction of light 1Refraction of light 1
Refraction of light 1
 
Science8 Unit C Lightand Optics Section2 Lesson4 Mirrors Lensesand Refraction...
Science8 Unit C Lightand Optics Section2 Lesson4 Mirrors Lensesand Refraction...Science8 Unit C Lightand Optics Section2 Lesson4 Mirrors Lensesand Refraction...
Science8 Unit C Lightand Optics Section2 Lesson4 Mirrors Lensesand Refraction...
 
Refraction and lenses
Refraction and lensesRefraction and lenses
Refraction and lenses
 
06 partial refraction and total internal reflection
06   partial refraction and total internal reflection06   partial refraction and total internal reflection
06 partial refraction and total internal reflection
 
Refraction of light
Refraction of lightRefraction of light
Refraction of light
 
[Unit 12.2] refraction of light
[Unit 12.2] refraction of light[Unit 12.2] refraction of light
[Unit 12.2] refraction of light
 
Refraction through a glass slab and the refractive index
Refraction through a glass slab and the refractive indexRefraction through a glass slab and the refractive index
Refraction through a glass slab and the refractive index
 
Total internal reflection (3)
Total internal reflection (3)Total internal reflection (3)
Total internal reflection (3)
 
Reflection and Refraction
Reflection and RefractionReflection and Refraction
Reflection and Refraction
 

Similar to Soft serve prism

Shine a Light with Prism (the Composite Application Guidance for WPF and Silv...
Shine a Light with Prism (the Composite Application Guidance for WPF and Silv...Shine a Light with Prism (the Composite Application Guidance for WPF and Silv...
Shine a Light with Prism (the Composite Application Guidance for WPF and Silv...Dave Bost
 
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
 
Creating UX Applications that Target both Silverlight and WPF
Creating UX Applications that Target both Silverlight and WPFCreating UX Applications that Target both Silverlight and WPF
Creating UX Applications that Target both Silverlight and WPFChristian Thilmany
 
Building Composite Applications with Silverlight - Prism 2.0
Building Composite Applications with Silverlight - Prism 2.0Building Composite Applications with Silverlight - Prism 2.0
Building Composite Applications with Silverlight - Prism 2.0Christian Thilmany
 
Spring boot microservice metrics monitoring
Spring boot   microservice metrics monitoringSpring boot   microservice metrics monitoring
Spring boot microservice metrics monitoringOracle Korea
 
Spring Boot - Microservice Metrics Monitoring
Spring Boot - Microservice Metrics MonitoringSpring Boot - Microservice Metrics Monitoring
Spring Boot - Microservice Metrics MonitoringDonghuKIM2
 
Integration of Struts & Spring & Hibernate for Enterprise Applications
Integration of Struts & Spring & Hibernate for Enterprise ApplicationsIntegration of Struts & Spring & Hibernate for Enterprise Applications
Integration of Struts & Spring & Hibernate for Enterprise ApplicationsIJMER
 
MVVM Design Pattern NDC2009
MVVM Design Pattern NDC2009MVVM Design Pattern NDC2009
MVVM Design Pattern NDC2009Jonas Follesø
 
Spring presentation By Chandan Sharma
Spring presentation By Chandan Sharma Spring presentation By Chandan Sharma
Spring presentation By Chandan Sharma Navin Agarwal
 
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai..."Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...Fwdays
 
Caliburn.micro
Caliburn.microCaliburn.micro
Caliburn.microbwullems
 
Enabling modularization through OSGi and SpringDM
Enabling modularization through OSGi and SpringDMEnabling modularization through OSGi and SpringDM
Enabling modularization through OSGi and SpringDMmukulobject
 
Prism Tech Ed India
Prism Tech Ed IndiaPrism Tech Ed India
Prism Tech Ed Indiarsnarayanan
 
MVVM+MEF in Silvelight - W 2010ebday
MVVM+MEF in Silvelight - W 2010ebdayMVVM+MEF in Silvelight - W 2010ebday
MVVM+MEF in Silvelight - W 2010ebdayRicardo Fiel
 
The 2014 Decision Makers Guide to Java Web Frameworks
The 2014 Decision Makers Guide to Java Web FrameworksThe 2014 Decision Makers Guide to Java Web Frameworks
The 2014 Decision Makers Guide to Java Web FrameworksKunal Ashar
 

Similar to Soft serve prism (20)

Shine a Light with Prism (the Composite Application Guidance for WPF and Silv...
Shine a Light with Prism (the Composite Application Guidance for WPF and Silv...Shine a Light with Prism (the Composite Application Guidance for WPF and Silv...
Shine a Light with Prism (the Composite Application Guidance for WPF and Silv...
 
Composite Application Library, Prism v2
Composite Application Library, Prism v2Composite Application Library, Prism v2
Composite Application Library, Prism v2
 
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...
 
Spring Framework-II
Spring Framework-IISpring Framework-II
Spring Framework-II
 
Creating UX Applications that Target both Silverlight and WPF
Creating UX Applications that Target both Silverlight and WPFCreating UX Applications that Target both Silverlight and WPF
Creating UX Applications that Target both Silverlight and WPF
 
Building Composite Applications with Silverlight - Prism 2.0
Building Composite Applications with Silverlight - Prism 2.0Building Composite Applications with Silverlight - Prism 2.0
Building Composite Applications with Silverlight - Prism 2.0
 
Spring boot microservice metrics monitoring
Spring boot   microservice metrics monitoringSpring boot   microservice metrics monitoring
Spring boot microservice metrics monitoring
 
Spring Boot - Microservice Metrics Monitoring
Spring Boot - Microservice Metrics MonitoringSpring Boot - Microservice Metrics Monitoring
Spring Boot - Microservice Metrics Monitoring
 
Spring boot
Spring bootSpring boot
Spring boot
 
Integration of Struts & Spring & Hibernate for Enterprise Applications
Integration of Struts & Spring & Hibernate for Enterprise ApplicationsIntegration of Struts & Spring & Hibernate for Enterprise Applications
Integration of Struts & Spring & Hibernate for Enterprise Applications
 
MVVM Design Pattern NDC2009
MVVM Design Pattern NDC2009MVVM Design Pattern NDC2009
MVVM Design Pattern NDC2009
 
Spring presentation By Chandan Sharma
Spring presentation By Chandan Sharma Spring presentation By Chandan Sharma
Spring presentation By Chandan Sharma
 
Spring presentation
Spring presentationSpring presentation
Spring presentation
 
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai..."Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
"Micro-frontends: Scalable and Modular Frontend in Parimatch Tech", Kyrylo Ai...
 
Caliburn.micro
Caliburn.microCaliburn.micro
Caliburn.micro
 
Enabling modularization through OSGi and SpringDM
Enabling modularization through OSGi and SpringDMEnabling modularization through OSGi and SpringDM
Enabling modularization through OSGi and SpringDM
 
Prism Tech Ed India
Prism Tech Ed IndiaPrism Tech Ed India
Prism Tech Ed India
 
MVVM+MEF in Silvelight - W 2010ebday
MVVM+MEF in Silvelight - W 2010ebdayMVVM+MEF in Silvelight - W 2010ebday
MVVM+MEF in Silvelight - W 2010ebday
 
149 152
149 152149 152
149 152
 
The 2014 Decision Makers Guide to Java Web Frameworks
The 2014 Decision Makers Guide to Java Web FrameworksThe 2014 Decision Makers Guide to Java Web Frameworks
The 2014 Decision Makers Guide to Java Web Frameworks
 

More from dotNETUserGroupDnipro (11)

Sonar quality
Sonar qualitySonar quality
Sonar quality
 
Mercurial presentation
Mercurial presentationMercurial presentation
Mercurial presentation
 
Ef code first
Ef code firstEf code first
Ef code first
 
Rx for .net
Rx for .netRx for .net
Rx for .net
 
Winmobile
WinmobileWinmobile
Winmobile
 
Html5
Html5Html5
Html5
 
Erp microsoft dynamics
Erp microsoft dynamicsErp microsoft dynamics
Erp microsoft dynamics
 
Css 3 overview
Css 3 overviewCss 3 overview
Css 3 overview
 
Mvc3
Mvc3Mvc3
Mvc3
 
Balsamiq
BalsamiqBalsamiq
Balsamiq
 
Azure for ug
Azure for ugAzure for ug
Azure for ug
 

Recently uploaded

Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
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
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 

Recently uploaded (20)

Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 

Soft serve prism

  • 1. Presenter: Sergiy Beslik Prism - Composite Application Guidance for WPF and Silverlight
  • 2. What is Composite Application? Composite Application consists of loosely coupled modules that can be developed independently, discovered at runtime and work together.
  • 3. What is Prism? Prism is a set of guidance designed to help building composite UI applications with WPF and Silverlight.
  • 4. What is Prism? Library Reference Implementation Guidelines Quick-Starts
  • 5. Prism Core Concepts Modules UI Composition Dependency Injection Events and Commands Separated Presentation Patterns Multi-targeting
  • 6. Modules Unit of development Modules can be developed and tested independently by different teams. Unit of deployment Modules can be loaded on demand, minimizing application start-up time. Modules can be added or changed without re-building the whole application.
  • 7. Bootstrapper Bootstrapper Module A public class ModuleA : IModule { public void Initialize() {
  • 8. UI Composition Views from multiple modules are displayed at run time in specific locations within the application's UI. <TabControlRegionManager.RegionName= “MainContentRegion” /> Module A Module B <ItemsControlRegionManager.RegionName= “NavigationRegion">
  • 9. View Discovery vs. View Injection Views can be instantiated automatically when region is displayed, or explicitly injected into region.
  • 10. Dependency Injection Dependency Injection Pattern Service Locator Pattern
  • 11. Events and Commands Delegate Command Implements delegate-based Command pattern Composite Command Implements multiple handlers command routing Event Aggregator Implements publishing and subscribing to loosely coupled events
  • 12. Event Aggregator Event Aggregator is a mediator service that allows decoupling of publishers and subscribers. Module A Module B eventAggregator.GetEvent<MyEvent>().Subscribe(MyEventHandler, ThreadOption.UIThread, false, MyEventFilter); eventAggregator.GetEvent<MyEvent>().Publish(eventArgs)
  • 13. Separate Presentation Patterns Model-View-Controller (MVC) Model-View-Presenter (MVP) Presentation Model (PM) Model-View-ViewModel (MVVM)
  • 16. Prism Releases Prism 1.0 – WPF, July 2008 Prism 2.0 – WPF & Silverlight 2.0, Feb 2009 Prism 2.1 – WPF & Silverlight 3.0, Oct 2009 Prism 2.2 – WPF & Silverlight 4.0, May 2010 Prism 4.0 – WPF & Silverlight 4.0, beta version is available
  • 17. What’s new in Prism 4.0 WPF 4.0 Support More ViewModel Pattern Guidance Managed Extensibility Framework (MEF) Support Guidance For Out of Browser Applications Application Structure Patterns & Navigation
  • 18. Useful links MSDN Magazine article “Patterns For Building Composite Applications With WPF”: http://msdn.microsoft.com/en-us/magazine/cc785479.aspx MSDN Magazine article “WPF Apps with the Model-View-ViewModel Design Pattern”: http://msdn.microsoft.com/en-us/magazine/dd419663.aspx PowerPoint presentation and video from Patterns & Practices Symposium in Kiev, September 2010: http://www.techdays.in.ua/videos/2897.html Download latest version of Prism: http://compositewpf.codeplex.com/releases/view/46046
  • 19. Europe Headquarters 52 V. Velykoho Str. Lviv 79053, Ukraine Tel: +380-32-240-9090Fax: +380-32-240-9080 E-mail: info@softserveinc.com Website: www.softserveinc.com US Headquarters 12800 University Drive, Suite 250Fort Myers, FL 33907, USA Tel: 239-690-3111 Fax: 239-690-3116 Thank You! Copyright ©2010 SoftServe, Inc. Contacts