SlideShare una empresa de Scribd logo
1 de 20
Caliburn.Microan open source micro-framework for WPF, Silverlight and Windows Phone  7 Presented by Bryan HunterPartner , Software Engineer Firefly Logic , Inc. Twitterhash tagsTweeps#devlink 	#geeksocial	@bryan_hunter  (your presenter)#caliburn	#FTW		@EisenbergEffect (the creator of Caliburn)
Brief History of Caliburn.Micro I use it. I’m a fan Based on the mature Caliburn project Created by Rob Eisenberg Grew from Rob’s MIX10 talk “Build Your Own MVVM Framework” Around 2,000 lines of code Made public July 2010 Now the mainline
Caliburn.Micro Elevator Speech A better version of what nearly every WPF veteran has attempted to home-grow Reduces the drudgery of property binding and commands  Simplifies building a deeply composed UI Helps unify the programming models of WPF,  Silverlight and Windows Phone 7  Simplifies asynchronous programming Built in Tombstone & Resurrection for WP7 Small enough to grok and to “own”
Important Terms MVVM (Model-View-ViewModel) Convention over Configuration Event Aggregator (pub-sub) Coroutines Bootstrapper
The GameLibrary Demo  Run the demo fool
The GameLibrary Demo  Wow that was fun! Rob’s “Game Library” sample from “Build you won MVVM Framework” talk was the inspiration for Caliburn.Micro. After Caliburn.Micro  was made public Marco Amendola ported the Game Library sample to Caliburn.Micro.
The lifecycle App starts up
The lifecycle App starts up News up Bootstrapper<ShellViewModel> public class ShellViewModel {    public void Back() {…}    public IScreenActiveScreen    { get; set; }    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView <ContentControl x:Name=“ActiveScreen”/> public class ShellViewModel {    public void Back() {…}    public IScreenActiveScreen    { get; set; }    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView <ContentControl x:Name=“ActiveScreen”/> ViewModelBinder.Bind() public class ShellViewModel {    public void Back() {…}    public IScreenActiveScreen    { get; set; }    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> <ContentControl x:Name=“ActiveScreen”/> ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind()
The lifecycle App starts up News up Bootstrapper<ShellViewModel> <ContentControl x:Name=“ActiveScreen”/> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind() public class SearchViewModel {    public string SearchText    { get; set; }    public void AddGame {…}    public void Search {…}    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() public class SearchViewModel {    public string SearchText    { get; set; }    public void AddGame {…}    public void Search {…}    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() ViewModelBinder.Bind() public class SearchViewModel {    public string SearchText    { get; set; }    public void AddGame {…}    public void Search {…}    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() ViewModelBinder.Bind()
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind() ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() and so on, and so on, and so on…
The Code for the Demo  Bootstrapper Convention over Config View Location and composition ViewModelBinder (Property Binding & Action Binding) Conductors and Screen Coroutines
Wrapping up Hope this was enough to get you rolling Caliburn.Micro is on Codeplex http://caliburnmicro.codeplex.com These slides and the code will be at http://codeswamp.com Please fill out the your session evals
Big Thanks Rob Eisenberg has stuck with it for three years and has built a great framework Marco Amendola  ported the GameLibrary to Caliburn.Micro http://marcoamendola.wordpress.com
My Contact Info Bryan HunterPartner, Software EngineerFirefly Logic, Inc.1000 Main Street, Suite 201Nashville, TN 37206 Twitter: @bryan_hunter Blog: codeswamp.com Email: bryan.hunter@fireflylogic.com

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
 
A realtime infrastructure for Android apps: Firebase may be what you need..an...
A realtime infrastructure for Android apps: Firebase may be what you need..an...A realtime infrastructure for Android apps: Firebase may be what you need..an...
A realtime infrastructure for Android apps: Firebase may be what you need..an...
 
Continuous Deploy
Continuous DeployContinuous Deploy
Continuous Deploy
 
Secrets mvc-diagram
Secrets mvc-diagramSecrets mvc-diagram
Secrets mvc-diagram
 
Secrets app presentation
Secrets app presentationSecrets app presentation
Secrets app presentation
 
Get Hip with JHipster - GIDS 2019
Get Hip with JHipster - GIDS 2019Get Hip with JHipster - GIDS 2019
Get Hip with JHipster - GIDS 2019
 
What's New in JHipsterLand - Devoxx Poland 2017
What's New in JHipsterLand - Devoxx Poland 2017What's New in JHipsterLand - Devoxx Poland 2017
What's New in JHipsterLand - Devoxx Poland 2017
 
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
 
Orchestrating Microservices
Orchestrating MicroservicesOrchestrating Microservices
Orchestrating Microservices
 
Front End Development for Back End Developers - Devoxx UK 2017
 Front End Development for Back End Developers - Devoxx UK 2017 Front End Development for Back End Developers - Devoxx UK 2017
Front End Development for Back End Developers - Devoxx UK 2017
 
Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019
Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019
Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019
 
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Spring IO '15 - Developing microservices, Spring Boot or Grails?Spring IO '15 - Developing microservices, Spring Boot or Grails?
Spring IO '15 - Developing microservices, Spring Boot or Grails?
 
Building Event Driven API Services Using Webhooks
Building Event Driven API Services Using WebhooksBuilding Event Driven API Services Using Webhooks
Building Event Driven API Services Using Webhooks
 
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020
 
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...
 
Front End Development for Back End Developers - UberConf 2017
Front End Development for Back End Developers - UberConf 2017Front End Development for Back End Developers - UberConf 2017
Front End Development for Back End Developers - UberConf 2017
 
Seven Simple Reasons to Use AppFuse
Seven Simple Reasons to Use AppFuseSeven Simple Reasons to Use AppFuse
Seven Simple Reasons to Use AppFuse
 
From Monolith to K8s - Spring One 2020
From Monolith to K8s - Spring One 2020From Monolith to K8s - Spring One 2020
From Monolith to K8s - Spring One 2020
 
If Hemingway Wrote JavaDocs
If Hemingway Wrote JavaDocsIf Hemingway Wrote JavaDocs
If Hemingway Wrote JavaDocs
 
How to Win at UI Development in the World of Microservices - THAT Conference ...
How to Win at UI Development in the World of Microservices - THAT Conference ...How to Win at UI Development in the World of Microservices - THAT Conference ...
How to Win at UI Development in the World of Microservices - THAT Conference ...
 

Similar a Caliburn.Micro

China Science Challenge
China Science ChallengeChina Science Challenge
China Science Challenge
remko caprio
 
Android presentation
Android presentationAndroid presentation
Android presentation
Imam Raza
 
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
Igor Moochnick
 
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
DataLeader.io
 

Similar a Caliburn.Micro (20)

Caliburn micro
Caliburn microCaliburn micro
Caliburn micro
 
Creating Swing DSL with_Kotlin
Creating Swing DSL with_KotlinCreating Swing DSL with_Kotlin
Creating Swing DSL with_Kotlin
 
Griffon Presentation
Griffon PresentationGriffon Presentation
Griffon Presentation
 
Java REST API Framework Comparison - UberConf 2021
Java REST API Framework Comparison - UberConf 2021Java REST API Framework Comparison - UberConf 2021
Java REST API Framework Comparison - UberConf 2021
 
Javascript talk1
Javascript talk1Javascript talk1
Javascript talk1
 
China Science Challenge
China Science ChallengeChina Science Challenge
China Science Challenge
 
SgCodeJam24 Workshop
SgCodeJam24 WorkshopSgCodeJam24 Workshop
SgCodeJam24 Workshop
 
Spring training
Spring trainingSpring training
Spring training
 
Griffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java TechnologyGriffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java Technology
 
Micronaut Launchpad
Micronaut LaunchpadMicronaut Launchpad
Micronaut Launchpad
 
Java REST API Framework Comparison - PWX 2021
Java REST API Framework Comparison - PWX 2021Java REST API Framework Comparison - PWX 2021
Java REST API Framework Comparison - PWX 2021
 
JavaOne 2009 BOF-5189 Griffon In Depth
JavaOne 2009 BOF-5189 Griffon In DepthJavaOne 2009 BOF-5189 Griffon In Depth
JavaOne 2009 BOF-5189 Griffon In Depth
 
Android presentation
Android presentationAndroid presentation
Android presentation
 
EmbbededGF@JavaOneHyd
EmbbededGF@JavaOneHydEmbbededGF@JavaOneHyd
EmbbededGF@JavaOneHyd
 
Play Support in Cloud Foundry
Play Support in Cloud FoundryPlay Support in Cloud Foundry
Play Support in Cloud Foundry
 
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
 
Plone FSR
Plone FSRPlone FSR
Plone FSR
 
Understanding meteor
Understanding meteorUnderstanding meteor
Understanding meteor
 
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
 
Android architecture
Android architecture Android architecture
Android architecture
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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
 
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 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...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

Caliburn.Micro

  • 1. Caliburn.Microan open source micro-framework for WPF, Silverlight and Windows Phone 7 Presented by Bryan HunterPartner , Software Engineer Firefly Logic , Inc. Twitterhash tagsTweeps#devlink #geeksocial @bryan_hunter (your presenter)#caliburn #FTW @EisenbergEffect (the creator of Caliburn)
  • 2. Brief History of Caliburn.Micro I use it. I’m a fan Based on the mature Caliburn project Created by Rob Eisenberg Grew from Rob’s MIX10 talk “Build Your Own MVVM Framework” Around 2,000 lines of code Made public July 2010 Now the mainline
  • 3. Caliburn.Micro Elevator Speech A better version of what nearly every WPF veteran has attempted to home-grow Reduces the drudgery of property binding and commands Simplifies building a deeply composed UI Helps unify the programming models of WPF, Silverlight and Windows Phone 7 Simplifies asynchronous programming Built in Tombstone & Resurrection for WP7 Small enough to grok and to “own”
  • 4. Important Terms MVVM (Model-View-ViewModel) Convention over Configuration Event Aggregator (pub-sub) Coroutines Bootstrapper
  • 5. The GameLibrary Demo Run the demo fool
  • 6. The GameLibrary Demo Wow that was fun! Rob’s “Game Library” sample from “Build you won MVVM Framework” talk was the inspiration for Caliburn.Micro. After Caliburn.Micro was made public Marco Amendola ported the Game Library sample to Caliburn.Micro.
  • 7. The lifecycle App starts up
  • 8. The lifecycle App starts up News up Bootstrapper<ShellViewModel> public class ShellViewModel { public void Back() {…} public IScreenActiveScreen { get; set; } … }
  • 9. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView <ContentControl x:Name=“ActiveScreen”/> public class ShellViewModel { public void Back() {…} public IScreenActiveScreen { get; set; } … }
  • 10. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView <ContentControl x:Name=“ActiveScreen”/> ViewModelBinder.Bind() public class ShellViewModel { public void Back() {…} public IScreenActiveScreen { get; set; } … }
  • 11. The lifecycle App starts up News up Bootstrapper<ShellViewModel> <ContentControl x:Name=“ActiveScreen”/> ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind()
  • 12. The lifecycle App starts up News up Bootstrapper<ShellViewModel> <ContentControl x:Name=“ActiveScreen”/> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind() public class SearchViewModel { public string SearchText { get; set; } public void AddGame {…} public void Search {…} … }
  • 13. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() public class SearchViewModel { public string SearchText { get; set; } public void AddGame {…} public void Search {…} … }
  • 14. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() ViewModelBinder.Bind() public class SearchViewModel { public string SearchText { get; set; } public void AddGame {…} public void Search {…} … }
  • 15. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() ViewModelBinder.Bind()
  • 16. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind() ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() and so on, and so on, and so on…
  • 17. The Code for the Demo Bootstrapper Convention over Config View Location and composition ViewModelBinder (Property Binding & Action Binding) Conductors and Screen Coroutines
  • 18. Wrapping up Hope this was enough to get you rolling Caliburn.Micro is on Codeplex http://caliburnmicro.codeplex.com These slides and the code will be at http://codeswamp.com Please fill out the your session evals
  • 19. Big Thanks Rob Eisenberg has stuck with it for three years and has built a great framework Marco Amendola ported the GameLibrary to Caliburn.Micro http://marcoamendola.wordpress.com
  • 20. My Contact Info Bryan HunterPartner, Software EngineerFirefly Logic, Inc.1000 Main Street, Suite 201Nashville, TN 37206 Twitter: @bryan_hunter Blog: codeswamp.com Email: bryan.hunter@fireflylogic.com